W3C home > Mailing lists > Public > www-style@w3.org > March 2013

Re: [cssom-view] Add a "smooth" parameter to scrollTo and scrollBy functions

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 19 Mar 2013 14:18:15 -0400
Message-ID: <5148ABE7.1090304@mit.edu>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: www-style list <www-style@w3.org>
On 3/19/13 2:14 PM, Tab Atkins Jr. wrote:
>> 1)  Do we want an equivalent to NORMAL?
>
> Is this accessible directly in any way from author code in Gecko?  Or
> is it just a mode for handling the "author requests smooth scrolling,
> but user doesn't want it" case?

Unclear to me from code inspection.  At first glance, NORMAL is used for 
"default" wheel events when smooth scrolling is off and for 
"SCROLL_ASYNCHRONOUSELY" (sic) wheel events in all cases.  What triggers 
such wheel events, apart from actual mouse wheels, I'm not sure.

-Boris
Received on Tuesday, 19 March 2013 18:18:47 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:07 GMT