Closed Bug 1877878 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 44338 - [css-scroll-snap-2] Priotitize focused snap targets

Categories

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

task

Tracking

()

RESOLVED FIXED
124 Branch
Tracking Status
firefox124 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 44338 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/44338
Details from upstream follow.

David Awogbemila <awogbemila@chromium.org> wrote:

[css-scroll-snap-2] Priotitize focused snap targets

An agreed upon proposal by the CSS working group specifies that where
multiple scroll snap targets are visually equally aligned, scroll
containers should give priority to focused elements.

Bug: 1523819
Change-Id: I81e2aaf0845e9763abb463a960614beb37b05a8a
Reviewed-on: https://chromium-review.googlesource.com/5255777
WPT-Export-Revision: e051fad9de9eaf2520cc18e0e786cb5f6a9763be

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

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 2 tests and 1 subtests

Status Summary

Firefox

TIMEOUT: 4
NOTRUN : 2

Chrome

OK : 2
FAIL : 4

Safari

TIMEOUT: 4
NOTRUN : 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /css/css-scroll-snap/snap-after-relayout/multiple-aligned-targets/prefer-focused-element.html [wpt.fyi]: SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt], TIMEOUT [GitHub] (Chrome: OK, Safari: TIMEOUT)
    • scroller selects focused target from aligned choices on snap: TIMEOUT (Chrome: FAIL, Safari: TIMEOUT)
    • out-of-viewport focused element is not the selected snap target.: NOTRUN (Chrome: FAIL, Safari: NOTRUN)
    • scroller follows selected snap target through layout shift,regardless of focus: NOTRUN (Chrome: FAIL, Safari: NOTRUN)
  • /css/css-scroll-snap/snap-after-relayout/multiple-aligned-targets/prefer-focused-nested-containers.html [wpt.fyi]: SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt], TIMEOUT [GitHub] (Chrome: OK, Safari: TIMEOUT)
    • Snap container prefers focused nested snap target.: TIMEOUT (Chrome: FAIL, Safari: TIMEOUT)

Tests Disabled in Gecko Infrastructure

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ad13ad921bb5 [wpt PR 44338] - [css-scroll-snap-2] Prioritize focused snap targets, a=testonly https://hg.mozilla.org/integration/autoland/rev/8ef8beecc9c2 [wpt PR 44338] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
You need to log in before you can comment on or make changes to this bug.