DescriptionDon't re-implement containing block logic when marking container chains for layout
When marking the container chain of an abspos object for layout we don't need to
worry about rel-pos inlines in the container chain ourselves - containingBlock()
does this for us. Since there is no situation in which we would want to mark
anything between an abspos object and its containing block with posChildNeedsLayout()
just use containingBlock() directly when climbing up the tree.
This is a refactoring supported by two tests that capture layout situations where
an abspos object has a container chain containing relpos inlines.
BUG=517369
Committed: https://crrev.com/440dd29c10e04558cd63853f4e9af2c8d182accc
Cr-Commit-Position: refs/heads/master@{#384247}
Patch Set 1 #Patch Set 2 : Updated #Patch Set 3 : Updated #Patch Set 4 : Updated #Patch Set 5 : Updated #Patch Set 6 : Updated #
Messages
Total messages: 11 (4 generated)
|