New issue
Advanced search Search tips

Issue 638415 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Sep 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

GeometryMapper handles overflow clip on ancestor differently from LayoutObject::mapToVisualRectInAncestorSpace

Project Member Reported by szager@chromium.org, Aug 16 2016

Issue description

LayoutObject::mapToVisualRectInAncestor space does *not* apply overflow clipping from the ancestor object, but GeometryMapper does.  That behavior is unsuitable for IntersectionObserver.
 

Comment 1 by szager@chromium.org, Aug 16 2016

Upon further examination, I see this is only true when root layer scrolling is enabled.

Comment 2 by szager@chromium.org, Aug 16 2016

Scratch that last comment; it's true with or without RLS.

Comment 3 by szager@chromium.org, Aug 17 2016

To clarify:

GeometryMapper always applies the overflow clip of the ancestor.  Without root layer scrolling, frame-level overflow is handled in a custom way, so the frame-level overflow clip is not applied when mapping up to the LayoutView.  With root layer scrolling enabled, frame-level overflow is handled the same as the overflow on any other LayoutBox, so frame-level overflow clip *is* applied when mapping up to the LayoutView.
Components: -Blink>Paint>Invalidation Blink>Paint
Owner: chrishtr@chromium.org
Status: Assigned (was: Untriaged)
Status: Fixed (was: Assigned)

Sign in to add a comment