Closed Bug 1940170 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 49938 - [carousel] Preserve marker-group pinned state for layouts and clamps

Categories

(Core :: Layout: Scrolling and Overflow, task, P4)

task

Tracking

()

RESOLVED FIXED
136 Branch
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

Component: web-platform-tests → Layout: Scrolling and Overflow
Product: Testing → Core

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

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2cbc61802706 [wpt PR 49938] - [carousel] Preserve marker-group pinned state for layouts and clamps, a=testonly https://hg.mozilla.org/integration/autoland/rev/601e6add088e [wpt PR 49938] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
You need to log in before you can comment on or make changes to this bug.