Chromium Code Reviews
DescriptionFix LayoutObject::paintingLayer() about multicol spanner
This fixes LayoutObject::paintLayer() for the following case:
<div style="columns: 3">
<div style="column-span: all">
<div style="overflow: hidden"></div>
</div>
</div>
The inner div has a non-self-painting layer whose parent layer is the
multicol flow thread layer because layout tree and layer tree structure
follows the dom structure. However, the multicol flow thread layer is
not the actual painting layer but the column container layer is.
When looking for the painting layer, we need to follow the layout tree
instead of the layer tree and skip to the multicol container when we see
a spanner.
BUG=611609
TEST=LayoutObjectTest.PaintingLayerOfOverflowClipLayerUnderColumnSpanAll
Committed: https://crrev.com/db39a0e1882876a8c833821caf0544e8155eaa72
Cr-Commit-Position: refs/heads/master@{#396259}
Patch Set 1 #
Messages
Total messages: 14 (7 generated)
|
||||||||||||||||||||||||||||