[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}
Showing
Please register or sign in to comment