[wpt-sync] Sync PR 49938 - [carousel] Preserve marker-group pinned state for layouts and clamps
Categories
(Core :: Layout: Scrolling and Overflow, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox136 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 49938 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/49938
Details from upstream follow.
David Awogbemila <awogbemila@chromium.org> wrote:
[carousel] Preserve marker-group pinned state for layouts and clamps
When a targeted scroll (i.e. scrollIntoView) occurs we choose the
selected scroll marker not based on the scroll position but on the
target of the scrollIntoView. The selected scroll-marker should remain
pinned until an explicit scroll indicates otherwise.This patch tidies up a few cases where a non-explicit scroll (snapping
after layout and clamping) was unconditionally unpinning the selected
scroll-marker.Bug: 383553812
Change-Id: I0704e38a6a9a2226dc710ab39ee30735344a46f7
Reviewed-on: https://chromium-review.googlesource.com/6115535
WPT-Export-Revision: f3e2638b136eb1cc65e02fe704c2ea33f4b2f696
Assignee | ||
Updated•1 month ago
|
Assignee | ||
Comment 1•1 month ago
|
||
Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 2 subtests
Status Summary
Firefox
OK
: 1
FAIL
: 2
Chrome
OK
: 1
FAIL
: 2
Safari
TIMEOUT
: 2
NOTRUN
: 1
Links
Details
New Tests That Don't Pass
- /css/css-overflow/targeted-scroll-marker-selection-with-transition.tentative.html [wpt.fyi]
- scroll-marker of target (idx 1) of scrollIntoView is selected:
FAIL
(Chrome:FAIL
, Safari:TIMEOUT
) - scroll-marker of target (idx 14) of scrollIntoView is selected:
FAIL
(Chrome:FAIL
, Safari:NOTRUN
)
- scroll-marker of target (idx 1) of scrollIntoView is selected:
https://hg.mozilla.org/mozilla-central/rev/2cbc61802706
https://hg.mozilla.org/mozilla-central/rev/601e6add088e
Description
•