On 6/5/13 12:58 PM, Patrick Walton wrote:
Do you mean that having to wipe the parent flow when a child render box
changes is a rare case in general or that this specific case (an inline
becoming non-inline) is rare?
I mean that the latter is rare, so just wiping the parent flow when it
happens is not a complete non-starter.
So what I'm thinking is that, in general, we should structure
incremental layout under the general assumption that parent flows don't
need to be recreated when their children change (note: they may well
have to be *reflowed*, but not recreated from scratch), and in the
corner cases in which this isn't true, wipe and rebuild the parent
flows. Does this seem OK?
That's basically what Gecko does, right?
But note that in general we don't want to be detecting during reflow
that "hey, kids changed". So I'm not sure what this general assumption
is buying us, exactly, but I may just be missing something.
-Boris
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo