[wpt-sync] Sync PR 42901 - [sticky] Don't invalidate sticky constraints that don't exist yet.
Categories
(Core :: Layout: Positioned, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox121 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 42901 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/42901
Details from upstream follow.
Ian Kilpatrick <ikilpatrick@chromium.org> wrote:
[sticky] Don't invalidate sticky constraints that don't exist yet.
InvalidatePaintForStickyDescendants may be call in the middle of
layout when we delay scroll offset clamping (scroll offsets will get
set in the middle of layout).The layout-box will be layout-clean - however the sticky descdendants
might not have any sticky-pos constraints yet.Check if we have been enqueued for a sticky update, and skip the
paint invalidation step (it'll happen later when we regenerate the
sticky constraints).Bug: 1498297, 1498401
Change-Id: I7f0f4cd86203b845cd37a015cb7bd485773494f6Reviewed-on: https://chromium-review.googlesource.com/4997393
WPT-Export-Revision: e0783687f202c3be01f7590dd2d0300e43197c78
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
Assignee | ||
Comment 3•1 year ago
|
||
Assignee | ||
Comment 4•1 year ago
|
||
Assignee | ||
Comment 6•1 year ago
|
||
Comment 7•1 year ago
|
||
bugherder |
Description
•