Description[blink] Refactor PaintLayerClipper::CalculateClipRects
This CL refactors PaintLayerClipper::CalculateClipRects so the code
structure becomes more similar to PaintPropertyTreeBuilder.
One behavior change is introduced. When the kIgnoreOverflowClip is
specified, PLC should skip overflow clip of the root layer. The
intention is to be able to paint the whole scrolled contents for
composited scrolling. Before this CL, kIgnoreOverflowClip was not
honored if the element also has a CSS clip. In such case, both CSS clip
and overflow clip would still be applied. With this CL, both CSS clip
and overflow clip would be skipped if kIgnoreOverflowClip is specified.
This is believed to be a bug that forced us to disable composited
scrolling if CSS clip is present.
Other than that, no behavior change is introduced.
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|