[Bug 26941] The 'scroll-behavior' CSS property should accept 'auto'.

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26941

--- Comment #2 from Kearwood "Kip" Gilbert <kgilbert@mozilla.com> ---
Smooth scrolling occurs with keyboard scrolling, with scroll-bar interaction,
and to align the scroll offset to snap points for CSS scroll snapping.
(http://dev.w3.org/csswg/css-snappoints/)

Section 14.1 (Smooth Scrolling: The 'scroll-behavior' Property), states:

"The 'scroll-behavior' property specifies the scrolling behavior for a
scrolling box, when scrolling happens due to navigation or CSSOM scrolling
APIs. Scrolls that are performed by the user are not affected by this property.
When this property is specified on the root element, it applies to the viewport
instead."

Would the smooth scroll animation that results from arrow key,
page-up/page-down key, home/end key, and scroll bar click events be considered
"performed by the user"?  (In the normal case it seems so)

When combined with CSS scroll snapping, the destination of these smooth scroll
animations is altered to ensure that the destination is a valid snap point. 
This is grey area in terms of being "performed by the user".

Future use cases may involve platform default smooth scrolling behavior that
have not yet been discovered yet (see multi-touch navigation gestures and WebVR
UX yet to be defined).

To enable content authors to explicitly disable all smooth scrolling animation
(including the scroll bar smooth scrolling and scroll snapping animations),
would the scroll-behavior CSS property be the ideal interface for this?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 30 September 2014 22:07:52 UTC