Description[blink] Unify PaintLayerClipper behavior with kIgnoreOverflowClip
Prior to this CL, the behavior of GeometryMapper version and non-GM
version of PaintLayerClipper was inconsistent with kIgnoreOverflowClip
when both CSS clip and overflow clip present on the painting root.
| CSS clip | Overflow clip | Both
-------+----------+---------------+--------
GM | Applied | Skipped | Skipped
Non-GM | Applied | Skipped | Applied
Also the GM-version applies only CSS clip when both present and
context.root_layer == layer_. (While non-GM applies both)
This CL changes the behavior so that both CSS clip and overflow clip are
ignored whether both or either one present. It is believed that it will
also fix a bug that prevented us from enabling impl-side scrolling on
scrollers that has CSS clip.
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Review-Url: https://codereview.chromium.org/2856373002
Cr-Commit-Position: refs/heads/master@{#469449}
Committed: https://chromium.googlesource.com/chromium/src/+/bd513eeb478c279634ca95af0344d68b0d95853e
Patch Set 1 #
Messages
Total messages: 13 (9 generated)
|