Closed Bug 2036966 Opened 4 months ago Closed 2 days ago

[css-overscroll-1] Add an overscroll-behavior value which disables local boundary default actions

Categories

(Core :: Layout: Scrolling and Overflow, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
157 Branch
Tracking Status
firefox157 --- fixed

People

(Reporter: mozilla-apprentice, Assigned: canalun, NeedInfo)

References

(Blocks 1 open bug)

Details

(Keywords: dev-doc-needed)

Attachments

(1 file)

Resolutions were made for csswg-drafts/#13370.

[css-overscroll-1] Add an overscroll-behavior value which disables local boundary default actions

  • RESOLVED: add a chain value to the overscroll-behavior property
  • RESOLVED: flackr is an editor for overscroll 1

Discussion.

Severity: S3 → --
Type: defect → enhancement
Component: Layout → Layout: Scrolling and Overflow

Tracking in https://mozilla-hub.atlassian.net/browse/FFXP-3766 (2026 H2 APZ WebCompat Work).

Priority: -- → P3
Assignee: nobody → i.am.kanaru.sato

chain is defined in
https://drafts.csswg.org/css-overscroll-behavior/#propdef-overscroll-behavior .

This patch has three parts.

  1. Parsing and plumbing. chain is added to the specified value in
    enum in servo and APZ, so that it is preserved through the scroll
    metadata.

  2. APZ behavior. The places that consult overscroll-behavior while scrolling,
    such as AsyncPanZoomController::CallDispatchScroll() and
    OverscrollHandoffChain::FindFirstScrollable(), all reach it through
    Axis::OverscrollBehaviorAllowsHandoff() and
    Axis::OverscrollBehaviorAllowsOverscrollEffect(). The behavior change is
    therefore contained in those two methods.

  3. Tests. The existing WPTs covering the handoff feature are enabled.
    Regarding overscroll-effect and swipe-to-nav, they are covered by
    new APZ mochitests.

The WPT still fails on Android. But manual testing on a device showed that handoff
and downward swipe (page refresh) behave as specified there and this looks like a
test issue. So that is left as a follow-up. Note that overscroll effect couldn't be
checked on Android due to Bug 1809969.

Attachment #9635714 - Attachment description: Bug 2036966 - Support an overscroll-behavior property, "chain". r?hiro → Bug 2036966 - Support an overscroll-behavior value, "chain". r?hiro
Status: NEW → RESOLVED
Closed: 2 days ago
Resolution: --- → FIXED
Target Milestone: --- → 157 Branch
Keywords: dev-doc-needed

Kanaru, this is probably something that should be mentioned in the release notes. So you may want to nominate it for adding.
https://wiki.mozilla.org/Release_Management/Release_Notes_Nomination

Sebastian

Flags: needinfo?(i.am.kanaru.sato)

Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/62445 for changes under testing/web-platform/tests

Upstream PR merged by moz-wptsync-bot

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: