On 17/3/09 1:38 PM, Boris Zbarsky wrote:
Boris Zbarsky wrote:
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.
I like that approach.
I've thought it would be nice if whitespace-only, 'white-space:normal'
text between two blocks didn't have to create a text frame at all. That
would save a frame object and a line object in a rather common case. (If
we split blocks into "block of blocks" and "block of inlines", it would
save us a "block of inlines" object as well.) Option (2) heads in the
right direction for that.
Rob
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout