Closed Bug 2056237 Opened 2 days ago Closed 1 day ago

[wpt-sync] Sync PR 61411 - Implement scroll-axis-lock: none support for compositor scrolls

Categories

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

task

Tracking

()

RESOLVED FIXED
155 Branch
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.

Design doc:
https://docs.google.com/document/d/1BvcEKG7Q4wOJhWIsdiymV9--hhxHK9Pb97rXHrs29ec/edit?tab=t.0#heading=h.q9bcgay8f2df

Bug: 479472367
Change-Id: I936e2439c09589f4359dd72fce860d5aa2501869
Reviewed-on: https://chromium-review.googlesource.com/8012210
WPT-Export-Revision: 25454495588c7a398003ed386067e812eaec8a18

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

TIMEOUT: 2
NOTRUN : 1

Chrome

OK : 1
PASS : 1
FAIL : 1

Safari

TIMEOUT: 2
NOTRUN : 1

Links

GitHub PR Head
GitHub PR Base

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)
Status: NEW → RESOLVED
Closed: 1 day ago
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch
You need to log in before you can comment on or make changes to this bug.