[wpt-sync] Sync PR 60722 - Make scroll chaining support single-axis scroll containers
Categories
(Core :: Layout, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox154 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 60722 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/60722
Details from upstream follow.
Free Debreuil <freedebreuil@google.com> wrote:
Make scroll chaining support single-axis scroll containers
When scroll chaining, use the nearest ancestor scroll container for an
axis in the scroll's axis, and apply overscroll-behavior only for axes
that are scroll containers.Bug: 522360235
Change-Id: Id4c0a52df49b80ce8732e4d9cde78a6ff60742f9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7930187
Reviewed-by: Robert Flack \<flackr@chromium.org>
Commit-Queue: Free Debreuil \<freedebreuil@google.com>
Cr-Commit-Position: refs/heads/main@{#1649152}
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=1e1b68f4336a975865df2a879fd01ea9a43f1663
| Assignee | ||
Comment 2•2 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 12 tests and 6 subtests
Status Summary
Firefox
OK : 1[GitHub] 11[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, 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 : 1[GitHub] 71[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, Gecko-windows11-64-25h2-opt] 72[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug]
FAIL : 1[GitHub] 22[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug] 23[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, Gecko-windows11-64-25h2-opt]
TIMEOUT: 2
NOTRUN : 2
Chrome
TIMEOUT: 4
NOTRUN : 3
Safari
OK : 1
PASS : 2
TIMEOUT: 2
NOTRUN : 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-overscroll-behavior/parsing/overscroll-behavior-computed.html [wpt.fyi]
- Property overscroll-behavior-x value 'chain':
FAIL - Property overscroll-behavior-y value 'chain':
FAIL - Property overscroll-behavior-inline value 'chain':
FAIL - Property overscroll-behavior-block value 'chain':
FAIL
- Property overscroll-behavior-x value 'chain':
- /css/css-overscroll-behavior/parsing/overscroll-behavior-valid.html [wpt.fyi]
- e.style['overscroll-behavior'] = "chain" should set the property value:
FAIL - e.style['overscroll-behavior'] = "chain auto" should set the property value:
FAIL - e.style['overscroll-behavior'] = "chain chain" should set the property value:
FAIL - e.style['overscroll-behavior-x'] = "chain" should set the property value:
FAIL - e.style['overscroll-behavior-y'] = "chain" should set the property value:
FAIL - e.style['overscroll-behavior-inline'] = "chain" should set the property value:
FAIL - e.style['overscroll-behavior-block'] = "chain" should set the property value:
FAIL
- e.style['overscroll-behavior'] = "chain" should set the property value:
- /css/css-overscroll-behavior/overscroll-behavior-keyboard-scroll.html [wpt.fyi]
- overscroll-behavior-y: none prevents scroll propagation on y axis:
FAIL - overscroll-behavior-x: none prevents scroll propagation on x axis:
FAIL - overscroll-behavior-x: chain allows scroll propagation on x axis:
FAIL - overscroll-behavior-y: chain allows scroll propagation on y axis:
FAIL
- overscroll-behavior-y: none prevents scroll propagation on y axis:
- /css/css-overscroll-behavior/overscroll-behavior-root.html [wpt.fyi]
- overscroll-behavior in root works:
FAIL[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,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug]
- overscroll-behavior in root works:
- /css/css-overscroll-behavior/overscroll-behavior-single-axis-keyboard.html [wpt.fyi]
- Keyboard: overscroll-behavior-x:contain on a y-only scroller does not block horizontal chaining:
FAIL(Chrome:NOTRUN, Safari:PASS)
- Keyboard: overscroll-behavior-x:contain on a y-only scroller does not block horizontal chaining:
- /css/css-overscroll-behavior/overscroll-behavior-single-axis.html [wpt.fyi]:
TIMEOUT(Chrome:TIMEOUT, Safari:TIMEOUT)- overscroll-behavior-y:contain on an x-only scroller does not block vertical chaining:
TIMEOUT(Chrome:TIMEOUT, Safari:TIMEOUT) - overscroll-behavior-x:contain on a y-only scroller does not block horizontal chaining:
NOTRUN(Chrome:NOTRUN, Safari:NOTRUN) - overscroll-behavior-y:contain on a y-scroller still blocks vertical chaining (control):
NOTRUN(Chrome:NOTRUN, Safari:NOTRUN)
- overscroll-behavior-y:contain on an x-only scroller does not block vertical chaining:
- /css/css-overscroll-behavior/overscroll-behavior-without-overflow.html [wpt.fyi]
- overflow: hidden and overscroll-behavior-x: none should only prevent scroll propagation on x axis. (chain on y):
FAIL - overflow: hidden and overscroll-behavior-y: none should only prevent scroll propagation on y axis. (chain on x):
FAIL - overflow: auto and overscroll-behavior-x: none should only prevent scroll propagation on x axis. (chain on y):
FAIL - overflow: auto and overscroll-behavior-y: none should only prevent scroll propagation on y axis. (chain on x):
FAIL
- overflow: hidden and overscroll-behavior-x: none should only prevent scroll propagation on x axis. (chain on y):
- /css/css-overscroll-behavior/overscroll-behavior.html [wpt.fyi]
- overscroll-behavior-x: none prevents scroll propagation on x axis:
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] - overscroll-behavior-x: chain allows scroll propagation on x axis:
FAIL - overscroll-behavior-y: chain allows scroll propagation on y axis:
FAIL
- overscroll-behavior-x: none prevents scroll propagation on x axis:
Comment 4•2 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/f9bc637196e8
https://hg.mozilla.org/mozilla-central/rev/6aed8f02f255
Comment 5•2 months ago
|
||
| bugherder | ||
Description
•