Chromium Code Reviews
DescriptionDon't mark a positioned object for layout when we've just laid it out.
When we mark positioned objects for layout while laying out lines or block flows we
are assuming that any object we mark will get laid out later in the same layout.
This is fine when we're walking a tree but the positioned objects list is not a tree
and it's possible for elements in it to be out of DOM order. So if we layout the
descendants of positioned object A and mark a positioned object while doing so we
cannot assume that it will get laid out later; it may have already had its layout
in this round.
So to remove this assumption start bringing all the marking of positioned objects for layout
back into layoutPositionedObjects. This CL starts by bringing in the objects from
line layout.
BUG=477940
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=195813
Patch Set 1 #
Total comments: 4
Patch Set 2 : Updated #Patch Set 3 : Updated #Patch Set 4 : Updated #
Messages
Total messages: 18 (8 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||