Boris Zbarsky wrote:
Boris Zbarsky wrote:
1)  Allow whitespace-only Text frames as kids of rows, rowgroups,
    colgroups, tables.  On mutation of the text in a textframe with
    such a kid, reframe the containing block.
2)  Don't create such frames, but mark the content nodes involved
    somehow so that mutations to them reframe the containing block.

I think I'll go with (2) unless someone sees a reason not to. We have free bits on nodes, and it's a lot simpler to do than the other, in the near term.

My main concern is that we are slowly eating up the bits in nodes. Though I suspect that we can crunch away a few if needed. And adding another word dedicated to flags would probably not be a big deal.

There's also the concern that this types of layout bits (dbaron added similar ones when adding support for :nth-of-type etc) we will have a much harder time supporting multiple views for a single document. However I think rocs various posts on that issue has convinced me that that is unlikely something that we'll want to do anytime soon.

/ Jonas
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to