New issue
Advanced search Search tips

Issue 715753 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: May 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

position: sticky - constraints not invalidated on scrollable area layout

Project Member Reported by smcgruer@chromium.org, Apr 26 2017

Issue description

See https://codereview.chromium.org/2825343003/diff/1/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp#newcode859 for the original CL that I forked this bug from.

Currently if you modify layout inside a scrollable area such that you change where a sticky should be, *without* modifying the sticky element itself or its subtree, we don't invalidate the sticky constraints. This means that stale constraints can be used.

See https://codereview.chromium.org/2825343003/diff/1/third_party/WebKit/LayoutTests/fast/css/sticky/sticky-position-works-with-scroll-apis.html for some examples that would not work under the current code.

Instead, we should invalidate sticky constraints during PaintLayerScrollableArea::UpdateAfterLayout.
 
Status: WontFix (was: Started)
This is no longer needed after https://codereview.chromium.org/2683313003

Sign in to add a comment