Intent to Ship: CSSOM scroll-boundary-behavior
Contact emails
suny...@chromium.org, maj...@chromium.org
Spec
https://wicg.github.io/scroll-boundary-behavior/
Summary
CSS scroll-boundary-behavior allows developers to determine the browser's behavior once a scroller has reached its full extent. The unused delta can be propagated to the parent causing scroll chaining, create a glow/bounce effect without chaining, or just get consumed silently. In particular when used on viewport defining element, it controls if overscroll can be used for navigations actions such as pull-to-refresh or swipe navigations. This standardizes a supercharged version of "-ms-scroll-chaining".
scroll-boundary-behavior: auto | contain | none
auto: propagate scroll to the parent scroller. If there is no parent scroller (e.g., viewport) user-agent may perform a default action (e.g. navigation) or show any appropriate overscroll UI affordance. This is the default value.
contain: do not propagate. The user agent may show an appropriate overscroll UI affordance such as bounce or glow.
none: same as contain but also prevents any overscroll UI affordance e.g. bounce or glow.
There will be scroll-boundary-behavior-{x,y} long-hands to control each axis individually.
Link to “Intent to Implement” blink-dev discussion
Intent to Implement: CSS scroll-boundary-behavior
Is this feature supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
The scroll chaining behavior for inner scrollers is supported on all platforms. The behavior on the viewport to prevent overscroll navigations is currently supported on Android for pull-to-refresh, and we are working to support it on Mac and Chrome OS for swipe navigation.
Interoperability and Compatibility Risk
Edge: Public support
Firefox: Public support
Safari: No signals
Web developers: Positive (Facebook, AMP, numerous crbugs)
Is this feature fully tested by web-platform-tests?
We currently have a layout test that are written using test-harness.js but depend on gpu benchmarking for automation. We have a plan to upstream them to a web-platform-test by refactoring our the automation.
OWP launch tracking bug
Entry on the feature dashboard
https://www.chromestatus.com/features/5734614437986304
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CABQcQ%2BHoPd2%3D%3DZ-FBXnXCjzmzqTCvUGX1TcPSBLgGAE6c%3DkkMQ%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAARdPYcWmOtiuL33cy-gbfT1XwQkr093tTrTtd4Uf9DtstSDGw%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAARdPYcWmOtiuL33cy-gbfT1XwQkr093tTrTtd4Uf9DtstSDGw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAB8RdXtEBZtOcQXTRfV9L-K1C%3Dge2Bm9pRwXmn9MF4DDPot8tw%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAARdPYcWmOtiuL33cy-gbfT1XwQkr093tTrTtd4Uf9DtstSDGw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAARdPYcWmOtiuL33cy-gbfT1XwQkr093tTrTtd4Uf9DtstSDGw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAB8RdXtEBZtOcQXTRfV9L-K1C%3Dge2Bm9pRwXmn9MF4DDPot8tw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAB8RdXs29SiiG-YkLXxVjkADZ26HMZTYr0pRL4raKLZJ3joecQ%40mail.gmail.com.To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.