DescriptionRenderBlock::isSelfCollapsingBlock() should early exit on a relayout boundary
RenderBox::layoutOverflowRectForPropagation() needs to know whether the current
block is self-collapsing to pad layout overflow with after-margin. This can
trigger an assertion failure that it expects clean layout. This breaks the
contract of relayout boundary that its internal layout shouldn't matter to the
parent.
This CL simply reorders the assertion so we can give a quick answer if the box
is a relayout boundary before we assume clean layout.
This CL fixes an existing test failure cause by another CL.
CL affected by this bug: https://codereview.chromium.org/203463007
TEST=fast/overflow/overflow-dirty-relayout-boundary-no-crash.html
BUG=365507
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=172577
Patch Set 1 #
Total comments: 1
Patch Set 2 : add test #
Messages
Total messages: 8 (0 generated)
|