[RLS] Correct non-composited fixed background clip
We prefer to paint background-attachment: fixed into the scrolling contents layer if text quality is important (at the cost of repainting on every scroll). This approach had a bug for the LayoutView if there turned out to be no scrolling layer (e.g., in a non-composited iframe). Without a scrolling layer, a fixed background will not be clipped. This patch ensures the background is clipped in ViewPainter. Bug: 835755 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Change-Id: I6c19406fdacb64c5319709f9495e4fc8d608ae33 Reviewed-on: https://chromium-review.googlesource.com/1042266Reviewed-by:Steve Kobes <skobes@chromium.org> Commit-Queue: Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/master@{#555827}
Showing
Please register or sign in to comment