[wpt-sync] Sync PR 62840 - [css] Move scroll-snap-type: pair tests to WPT
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox159 fixed)
| Tracking | Status | |
|---|---|---|
| firefox159 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 62840 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/62840
Details from upstream follow.
David Liu <lcdavid@google.com> wrote:
[css] Move scroll-snap-type: pair tests to WPT
Move scroll-snap-type: pair tests into the standard external WPT
directory structure:
- Move pair/scroll-snap-type-pair.tentative.html into
parsing/scroll-snap-type-pair.html and remove the pair/ directory.- Move wpt_internal/css/css-scroll-snap/snap-pair-01..07.html to
external/wpt/css/css-scroll-snap/scroll-snap-type-pair-001..007.html.- Update FlagExpectations/surface-embed to match the new path.
Bug: 542706103
Change-Id: I27dfd9aa007edc616a97dbe96ec7fa55aa719f1c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8427845
Reviewed-by: Vladimir Levin \<vmpstr@chromium.org>
Commit-Queue: David Liu \<lcdavid@google.com>
Cr-Commit-Position: refs/heads/main@{#1701979}
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=95402
| Assignee | ||
Comment 2•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=95473
| Assignee | ||
Comment 3•1 month ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 204 tests
Status Summary
Firefox
OK : 7[GitHub] 168[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 169[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 2[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 725[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 750[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 751[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]
FAIL : 9[GitHub] 80[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 82[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 83[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
TIMEOUT: 2
Chrome
OK : 8
PASS : 10
Safari
OK : 7
FAIL : 9
TIMEOUT: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-scroll-snap/scroll-initial-target/scroll-initial-target-shadow-dom.tentative.html [wpt.fyi]:
SKIP - /css/css-scroll-snap/snap-events/scrollsnapchanging/scrollsnapchanging-after-layout-change.tentative.html [wpt.fyi]:
SKIP - /css/css-scroll-snap/snap-events/scrollsnapchanging/scrollsnapchanging-on-user-root-scroll.tentative.html [wpt.fyi]:
SKIP - /css/css-scroll-snap/snap-events/scrollsnapchanging/scrollsnapchanging-on-user-scroll.tentative.html [wpt.fyi]:
SKIP - /css/css-scroll-snap/snap-fling-in-large-area.html [wpt.fyi]:
SKIP - /css/css-scroll-snap/snap-fling-past-furthest-area.html [wpt.fyi]:
SKIP - /css/css-scroll-snap/capturing-snap-positions.html [wpt.fyi]
- The third item should be snapped to by default, not the second's child.:
FAIL
- The third item should be snapped to by default, not the second's child.:
- /css/css-scroll-snap/overflowing-snap-areas-nested.html [wpt.fyi]
- Snap within a snap area which covers snapport on x selects a valid snap position that avoids the overlapping areas at 800-1000 and 1400-1600.:
FAIL - Snap within a snap area which covers snapport on y selects a valid snap position that avoids the overlapping areas at 800-1000 and 1400-1600.:
FAIL
- Snap within a snap area which covers snapport on x selects a valid snap position that avoids the overlapping areas at 800-1000 and 1400-1600.:
- /css/css-scroll-snap/scroll-margin-overflow-ancestor.html [wpt.fyi]
- scroll-margin is respected when overflowing an overflow: auto container:
FAIL - scroll-margin and scroll-padding are respected when overflowing an overflow: auto container:
FAIL
- scroll-margin is respected when overflowing an overflow: auto container:
- /css/css-scroll-snap/scroll-snap-nested-snap-area-layout-changed.html [wpt.fyi]
- newly larger-than-snapport area is snapped to when straddled close to bottom.:
FAIL - snapport remains within newly covering snap area when already in covering position.:
FAIL
- newly larger-than-snapport area is snapped to when straddled close to bottom.:
- /css/css-scroll-snap/scroll-snap-stop-002-nested.html [wpt.fyi]
scroll-snap-stop: alwayssnap point is further than the scroll destination and a snap area covers the snapport:FAIL
- /css/css-scroll-snap/scroll-snap-type-pair-001.html [wpt.fyi]
- Single-axis snap areas (start none / none start) are skipped under scroll-snap-type: pair:
FAIL(Chrome:PASS, Safari:FAIL)
- Single-axis snap areas (start none / none start) are skipped under scroll-snap-type: pair:
- /css/css-scroll-snap/scroll-snap-type-pair-002.html [wpt.fyi]
- Single-axis scroll prioritizes candidates along the scrolled axis without jumping axes:
FAIL(Chrome:PASS, Safari:FAIL)
- Single-axis scroll prioritizes candidates along the scrolled axis without jumping axes:
- /css/css-scroll-snap/scroll-snap-type-pair-003.html [wpt.fyi]
- Resolves dual-axis candidate conflicts using 2D Euclidean distance to base position:
FAIL(Chrome:PASS, Safari:FAIL)
- Resolves dual-axis candidate conflicts using 2D Euclidean distance to base position:
- /css/css-scroll-snap/scroll-snap-type-pair-004.html [wpt.fyi]
- Resolves X-axis tie between candidates to the area matching the Y-axis snap selection:
FAIL(Chrome:PASS, Safari:FAIL)
- Resolves X-axis tie between candidates to the area matching the Y-axis snap selection:
- /css/css-scroll-snap/scroll-snap-type-pair-005.html [wpt.fyi]:
TIMEOUT(Chrome:OK, Safari:TIMEOUT)- Dispatches scrollsnapchange with the single dual-axis target under scroll-snap-type: pair:
TIMEOUT(Chrome:PASS, Safari:TIMEOUT)
- Dispatches scrollsnapchange with the single dual-axis target under scroll-snap-type: pair:
- /css/css-scroll-snap/scroll-snap-type-pair-006.html [wpt.fyi]
- Relatively positioned targets with scroll-snap-align: center snap accurately under pair mandatory:
FAIL(Chrome:PASS, Safari:FAIL)
- Relatively positioned targets with scroll-snap-align: center snap accurately under pair mandatory:
- /css/css-scroll-snap/scroll-snap-type-pair-007.html [wpt.fyi]
- DirectionStrategy prefers higher cosine similarity candidate during 2D momentum fling:
FAIL(Chrome:PASS, Safari:FAIL)
- DirectionStrategy prefers higher cosine similarity candidate during 2D momentum fling:
- /css/css-scroll-snap/snap-after-style-change-respects-scroll-behavior.html [wpt.fyi]
- Dynamically enabling scroll-snap should trigger a smooth scroll if scroll-behavior is smooth.:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt]
- Dynamically enabling scroll-snap should trigger a smooth scroll if scroll-behavior is smooth.:
- /css/css-scroll-snap/snapevent-constructor.html [wpt.fyi]
- Missing type argument:
FAIL - the event is an instance of SnapEvent:
FAIL - default init dict:
FAIL - event constructor type is honored:
FAIL
- Missing type argument:
- /css/css-scroll-snap/parsing/scroll-snap-stop-before.html [wpt.fyi]
- e.style['scroll-snap-stop'] = "before" should set the property value:
FAIL
- e.style['scroll-snap-stop'] = "before" should set the property value:
- /css/css-scroll-snap/parsing/scroll-snap-type-pair.html [wpt.fyi]
- e.style['scroll-snap-type'] = "pair" should set the property value:
FAIL(Chrome:PASS, Safari:FAIL) - e.style['scroll-snap-type'] = "pair mandatory" should set the property value:
FAIL(Chrome:PASS, Safari:FAIL) - e.style['scroll-snap-type'] = "pair proximity" should set the property value:
FAIL(Chrome:PASS, Safari:FAIL)
- e.style['scroll-snap-type'] = "pair" should set the property value:
- /css/css-scroll-snap/scroll-initial-target/parsing/scroll-initial-target-computed.html [wpt.fyi]
- Property scroll-initial-target value 'nearest':
FAIL - Property scroll-initial-target value 'none':
FAIL
- Property scroll-initial-target value 'nearest':
- /css/css-scroll-snap/scroll-initial-target/parsing/scroll-initial-target-valid.html [wpt.fyi]
- e.style['scroll-initial-target'] = "none" should set the property value:
FAIL - e.style['scroll-initial-target'] = "nearest" should set the property value:
FAIL
- e.style['scroll-initial-target'] = "none" should set the property value:
- /css/css-scroll-snap/scroll-initial-target/scroll-initial-target-aligns-with-snap-align.tentative.html [wpt.fyi]
- scroll-initial-target aligns with scroll-snap-align:
FAIL
- scroll-initial-target aligns with scroll-snap-align:
- /css/css-scroll-snap/scroll-initial-target/scroll-initial-target-display-toggled.tentative.html [wpt.fyi]
- display:block scroll-initial-target becomes display: none:
FAIL - display:none scroll-initial-target becomes display: block:
FAIL
- display:block scroll-initial-target becomes display: none:
- /css/css-scroll-snap/scroll-initial-target/scroll-initial-target-nested-container.tentative.html [wpt.fyi]
- display:none scroll-initial-target becomes display:block:
FAIL - intermediate overflow:visible container becomes overflow:scroll:
FAIL - outer scroll-initial-target takes precedence over inner:
FAIL - scroll containers can also be scroll-initial-targets:
FAIL
- display:none scroll-initial-target becomes display:block:
- /css/css-scroll-snap/scroll-initial-target/scroll-initial-target-root.tentative.html [wpt.fyi]
- CSS Scroll Snap 2 Test: scroll-initial-target*:
FAIL
- CSS Scroll Snap 2 Test: scroll-initial-target*:
- /css/css-scroll-snap/scroll-initial-target/scroll-initial-target-rtl.tentative.html [wpt.fyi]
- scroll-initial-target reflects vertical rtl writing mode.:
FAIL
- scroll-initial-target reflects vertical rtl writing mode.:
- /css/css-scroll-snap/scroll-initial-target/scroll-initial-target-span.tentative.html [wpt.fyi]
- <span> scroll-initial-target is honored:
FAIL
- <span> scroll-initial-target is honored:
- /css/css-scroll-snap/scroll-initial-target/scroll-initial-target-with-anchor-navigation.tentative.html [wpt.fyi]
- scroll-initial-target does not override anchor navigation.:
FAIL
- scroll-initial-target does not override anchor navigation.:
- /css/css-scroll-snap/scroll-initial-target/scroll-initial-target-with-scroll-snap.tentative.html [wpt.fyi]
- CSS Scroll Snap 2 Test: scroll-initial-target*:
FAIL
- CSS Scroll Snap 2 Test: scroll-initial-target*:
- /css/css-scroll-snap/scroll-initial-target/scroll-initial-target-with-scroll-start-root.tentative.html [wpt.fyi]
- CSS Scroll Snap 2 Test: scroll-initial-target*:
FAIL
- CSS Scroll Snap 2 Test: scroll-initial-target*:
- /css/css-scroll-snap/scroll-initial-target/scroll-initial-target-with-scroll-start.tentative.html [wpt.fyi]
- CSS Scroll Snap 2 Test: scroll-initial-target*:
FAIL
- CSS Scroll Snap 2 Test: scroll-initial-target*:
- /css/css-scroll-snap/scroll-initial-target/scroll-initial-target-with-user-programmatic-scroll.tentative.html [wpt.fyi]
- scroll-initial-target does not override user scroll:
FAIL - scroll-initial-target does not override programmatic scroll:
FAIL
- scroll-initial-target does not override user scroll:
- /css/css-scroll-snap/scroll-initial-target/scroll-initial-target.tentative.html [wpt.fyi]
- CSS Scroll Snap 2 Test: scroll-initial-target*:
FAIL
- CSS Scroll Snap 2 Test: scroll-initial-target*:
- /css/css-scroll-snap/snap-after-relayout/changing-scroll-snap-align-nested.html [wpt.fyi]
- Changing a large target's snap alignment shouldn't make the scroller resnap if the scroller is already in a valid snap position.:
FAIL
- Changing a large target's snap alignment shouldn't make the scroller resnap if the scroller is already in a valid snap position.:
- /css/css-scroll-snap/snap-events/scrollsnapchange/scrollsnapchange-after-layout-change.tentative.html [wpt.fyi]
- scrollsnapchange fires after snap area is snapped to upon layout change.:
FAIL - scrollsnapchange fires after snap area is snapped to upon layout change without scroll.:
FAIL - scrollsnapchange fires when container stops snapping:
FAIL - scrollsnapchange fires when snap container no longer has snap areas:
FAIL
- scrollsnapchange fires after snap area is snapped to upon layout change.:
- /css/css-scroll-snap/snap-events/scrollsnapchange/scrollsnapchange-on-programmatic-root-scroll.tentative.html [wpt.fyi]
- scrollsnapchange event fires after snap target changes via scrollTo:
FAIL - Document.onscrollsnapchange event fires after snap target changes viascrollTo:
FAIL - scrollsnapchange is not fired if snap target doesn't change on programmatic scroll:
FAIL
- scrollsnapchange event fires after snap target changes via scrollTo:
- /css/css-scroll-snap/snap-events/scrollsnapchange/scrollsnapchange-on-programmatic-scroll.tentative.html [wpt.fyi]
- scrollsnapchange event fires after snap target changes via scrollTo:
FAIL - Element.onscrollsnapchange event fires after snap target changes viascrollTo:
FAIL - scrollsnapchange is not fired if snap target doesn't change on programmatic scroll:
FAIL
- scrollsnapchange event fires after snap target changes via scrollTo:
- /css/css-scroll-snap/snap-events/scrollsnapchange/scrollsnapchange-on-user-root-scroll.tentative.html [wpt.fyi]
- scrollsnapchange event fires after snap target changes on touch scroll:
FAIL - scrollsnapchange event fires after snap target changes on wheel scroll:
FAIL - scrollsnapchange event fires after snap target changes on scrollbar drag:
FAIL[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview] - scrollsnapchange event fires after snap target changes on keydown press:
FAIL - Document.scrollsnapchange event fires after snap target changes on touch scroll:
FAIL - scrollsnapchange is not fired if snap target doesn't change on user scroll:
FAIL
- scrollsnapchange event fires after snap target changes on touch scroll:
- /css/css-scroll-snap/snap-events/scrollsnapchange/scrollsnapchange-on-user-scroll.tentative.html [wpt.fyi]
- scrollsnapchange event fires after snap target changes on touch scroll:
FAIL - scrollsnapchange event fires after snap target changes on wheel scroll:
FAIL - scrollsnapchange event fires after snap target changes on scrollbar drag:
FAIL[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview] - scrollsnapchange event fires after snap target changes on keydown press:
FAIL - Element.onscrollsnapchange event fires after snap target changes on touch scroll:
FAIL - scrollsnapchange is not fired if snap target doesn't change on user scroll:
FAIL
- scrollsnapchange event fires after snap target changes on touch scroll:
- /css/css-scroll-snap/snap-events/scrollsnapchange/scrollsnapchange-same-targets-after-layout-changed.html [wpt.fyi]
- scrollsnapchange doesn't fire after layout change if snapped to the same elements:
FAIL - scrollsnapchange doesn't fire after snap to the same targets after scroll. elements:
FAIL
- scrollsnapchange doesn't fire after layout change if snapped to the same elements:
- /css/css-scroll-snap/snap-events/scrollsnapchange/scrollsnapchange-scroll-snap-type-change.html [wpt.fyi]
- Trigger scrollsnapchange event on scroll-snap-type change:
FAIL
- Trigger scrollsnapchange event on scroll-snap-type change:
- /css/css-scroll-snap/snap-events/scrollsnapchange/scrollsnapchange-with-proximity-strictness.tentative.html [wpt.fyi]
- Scrollsnapchange fires when scrolling outside proximity range.:
FAIL
- Scrollsnapchange fires when scrolling outside proximity range.:
- /css/css-scroll-snap/snap-events/scrollsnapchanging/scrollsnapchanging-on-programmatic-root-scroll.tentative.html [wpt.fyi]
- scrollsnapchanging fires on programmatic scrolls that changes a scroller's snap targets.:
FAIL - Document.scrollsnapchanging fires on programmatic scrolls that changes ascroller's snap targets.:
FAIL - scrollsnapchanging does not fire on programmatic scrolls that don't trigger a change in snap targets.:
FAIL
- scrollsnapchanging fires on programmatic scrolls that changes a scroller's snap targets.:
- /css/css-scroll-snap/snap-events/scrollsnapchanging/scrollsnapchanging-on-programmatic-scroll.tentative.html [wpt.fyi]
- scrollsnapchanging fires on programmatic scrolls that changes a scroller's snap targets.:
FAIL - Element.onscrollsnapchanging fires on programmatic scrolls that changes a scroller's snap targets.:
FAIL - scrollsnapchanging should not fire since the snap target doesn't change.:
FAIL
- scrollsnapchanging fires on programmatic scrolls that changes a scroller's snap targets.:
- /css/css-scroll-snap/snap-events/snap-events-with-pseudo-target.tentative.html [wpt.fyi]
- snapTarget for scrollsnapchange is the owning element when a snap area belongs to a pseudo-element:
FAIL - snapTarget for scrollsnapchanging is the owning element when a snap area belongs to a pseudo-element:
FAIL
- snapTarget for scrollsnapchange is the owning element when a snap area belongs to a pseudo-element:
- /css/css-scroll-snap/snap-events/snap-events-with-shadow-dom.html [wpt.fyi]
- snapTarget for scrollsnapchange is the host element when a snap area is inside a closed shadow root:
FAIL - snapTarget for scrollsnapchanging is the host element when a snap area is inside a closed shadow root:
FAIL
- snapTarget for scrollsnapchange is the host element when a snap area is inside a closed shadow root:
- /css/css-scroll-snap/snap-events/snapevents-at-document-bubble-to-window.html [wpt.fyi]:
OK[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview]- scrollsnapchange bubbles when fired at the document (addEventListener).:
FAIL - scrollsnapchange bubbles when fired at the document (onscrollsnapchange).:
FAIL
- scrollsnapchange bubbles when fired at the document (addEventListener).:
- /css/css-scroll-snap/snap-after-initial-layout/scroll-snap-writing-mode-000.html [wpt.fyi]:
FAIL
Tests Disabled in Gecko Infrastructure
- /css/css-scroll-snap/scroll-initial-target/scroll-initial-target-shadow-dom.tentative.html [wpt.fyi]:
SKIP - /css/css-scroll-snap/snap-events/scrollsnapchanging/scrollsnapchanging-after-layout-change.tentative.html [wpt.fyi]:
SKIP - /css/css-scroll-snap/snap-events/scrollsnapchanging/scrollsnapchanging-on-user-root-scroll.tentative.html [wpt.fyi]:
SKIP - /css/css-scroll-snap/snap-events/scrollsnapchanging/scrollsnapchanging-on-user-scroll.tentative.html [wpt.fyi]:
SKIP - /css/css-scroll-snap/snap-fling-in-large-area.html [wpt.fyi]:
SKIPlinked bug:Bug 1899897 - /css/css-scroll-snap/snap-fling-past-furthest-area.html [wpt.fyi]:
SKIP - /css/css-scroll-snap/snap-events/snapevents-at-document-bubble-to-window.html [wpt.fyi]:
OK[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview]
Comment 5•1 month ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/4eb9d0e0bbd9
https://hg.mozilla.org/mozilla-central/rev/9c385fcdef0d
Comment 6•1 month ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/4eb9d0e0bbd9
https://hg.mozilla.org/mozilla-central/rev/9c385fcdef0d
Description
•