[wpt-sync] Sync PR 61411 - Implement scroll-axis-lock: none support for compositor scrolls
Categories
(Core :: Layout: Scrolling and Overflow, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox155 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 61411 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/61411
Details from upstream follow.
David Awogbemila <awogbemila@chromium.org> wrote:
Implement scroll-axis-lock: none support for compositor scrolls
This CL implements the scroll-axis-lock: none CSS property for
compositor-threaded scrolling (touch and wheel). This property allows
free diagonal scrolling without triggering axis locking (railing).To support this, we introduce unconstrained scroll deltas alongside the
standard constrained deltas in the input pipeline. The unconstrained
deltas capture the user's raw scroll intent before railing is applied.We retain the standard constrained deltas because they are still
necessary for correct scroll chaining. For example, on a horizontal-only
scroller, a vertical scroll with a tiny horizontal component should not
consume the vertical delta if it fails to scroll. Using constrained
deltas allows the vertical delta to correctly chain to the parent
scroller, whereas using unconstrained deltas would consume the delta and
block chaining.Bug: 479472367
Change-Id: I936e2439c09589f4359dd72fce860d5aa2501869
Reviewed-on: https://chromium-review.googlesource.com/8012210
WPT-Export-Revision: 25454495588c7a398003ed386067e812eaec8a18
| Assignee | ||
Updated•2 days ago
|
| Assignee | ||
Comment 1•2 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=447ec724c6dfe4b16d509e6d6f370359ed2c193e
| Assignee | ||
Comment 2•2 days 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
TIMEOUT: 2
NOTRUN : 1
Chrome
OK : 1
PASS : 1
FAIL : 1
Safari
TIMEOUT: 2
NOTRUN : 1
Links
Details
New Tests That Don't Pass
- /css/css-overflow/scroll-axis-lock.html [wpt.fyi]:
TIMEOUT(Chrome:OK, Safari:TIMEOUT)- scroll-axis-lock: none allows free diagonal touch scroll even with steep angle (no railing):
TIMEOUT(Chrome:FAIL, Safari:TIMEOUT) - scroll-axis-lock: none allows free diagonal wheel scroll even with steep angle (no railing):
NOTRUN(Chrome:PASS, Safari:NOTRUN)
- scroll-axis-lock: none allows free diagonal touch scroll even with steep angle (no railing):
https://hg.mozilla.org/mozilla-central/rev/661dae07d41f
https://hg.mozilla.org/mozilla-central/rev/e9450797e5e6
Description
•