Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Intent to ship: overscroll-behavior

104 views
Skip to first unread message

Botond Ballo

unread,
Jan 8, 2018, 3:58:04 PM1/8/18
to dev-platform
I would like to ship support for the 'overscroll-behavior' CSS
property (formerly called 'scroll-boundary-behavior') in Firefox 59.

Preference behind which the feature was developed:
layout.css.overscroll-behavior.enabled

"Intent to implement" thread:
https://www.mail-archive.com/dev-pl...@lists.mozilla.org/msg23947.html

Tracking bug for shipping:
https://bugzilla.mozilla.org/show_bug.cgi?id=1428879

Draft spec:
https://wicg.github.io/overscroll-behavior/

There have not been any significant changes to the spec since
the "Intent to implement" email, except for the change of name
from 'scroll-boundary-behavior' to 'overscroll-behavior'.

Support by other browser engines:
Blink: Shipping in Chrome 63 [1]
Edge: Public support [2]
WebKit: No public signals

Testing:
The feature has a manual web-platform-test [3].
The Chromium folks are working on upstreaming
an automated web-platform-test [4].

Example:

#chatbox {
/* Excess scrolling on the chatbox will not be handed off
to its parent scrollable .*/
overscroll-behavior: contain;
}

See [5] for more examples.

Cheers,
Botond

[1] https://www.chromestatus.com/features/5734614437986304
[2] https://discourse.wicg.io/t/generic-scroll-chaining-prevention-mechanism-or-expand-standardize-ms-scroll-chaining/1811/5?u=majidvp
[3] https://searchfox.org/mozilla-central/rev/cf149b7b63ff97023e28723167725e38cf5df757/testing/web-platform/tests/css/cssom-view/overscrollBehavior-manual.html
[4] https://bugs.chromium.org/p/chromium/issues/detail?id=762054
[5] https://wicg.github.io/overscroll-behavior/#motivating-examples

Tantek Çelik

unread,
Jan 14, 2018, 7:48:11 AM1/14/18
to Botond Ballo, dev-platform
SGTM.

As there's soon going to be two shipping implementations, it's long
past time to move the overscroll-behavior spec from WICG to CSSWG.
Related issue if anyone is interested in tracking this:
https://github.com/w3c/csswg-drafts/issues/2179

Thanks,

Tantek
> _______________________________________________
> dev-platform mailing list
> dev-pl...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
0 new messages