DescriptionRelayout an object that becomes a spanner.
It may be possible to collapse margins through a zero-height regular block, but
if it is turned into a spanner, this is no longer possible, because it then
becomes a BFC root.
An object that becomes a spanner also gets a new containing block, which may
affect its size.
In other words, there are good reasons to make sure that objects that become
spanners get relaid out.
Note that we already had code in place (in willBeRemovedFromTree()) that
scheduled for relayout in the opposite case, i.e. when an object ceased to be a
spanner.
BUG=610033
Committed: https://crrev.com/d7955c040f7907aceb6584a25215570614a8fe83
Cr-Commit-Position: refs/heads/master@{#392438}
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|