New issue
Advanced search Search tips

Issue 730668 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Jan 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac
Pri: 2
Type: Task



Sign in to add a comment

AncestorClippingLayer applied even when not needed

Project Member Reported by schenney@chromium.org, Jun 7 2017

Issue description

We apply an AncestorClippingLayer whenever the ancestor's clip is non infinite. This is wasteful in the not-uncommon situation where the child is entirely contained within the clip.

We should use logic similar to AncestorClippingMaskLayers to not create the layer when the child is entirely in.

Note the logic is not identical; we still need a clip layer if the child is entirely outside the clip, while we do not need a mask in that case.
 
The layout test compositing/layer-creation/overflow-scroll-overlap.html fails when this is implemented because the squashed sibling layer is not accounted for when considering the area that needs to be clipped.
Status: WontFix (was: Assigned)
Not worth fixing with Slimming Paint on the way down the pipe.

Sign in to add a comment