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

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

From: <alice.lieutier@gmail.com>
Date: Wed, 27 Mar 2013 19:36:01 +0000
Message-Id: <BB37A908-EC8E-4E5E-ADF6-200083F4EED9@gmail.com>
To: www-style@w3.org
> We believe that the time to scroll should be based on the distance,
> which means you can't put it in the author's hands at all.
This choice seems very strange to me:

- first because it's not what most js libraries do.
- secondly because on a very long document (say a w3c spec page) scrolling up and down at constant speed means instant scroll for nearby sections and still very long scroll time for far apart sections.

Compare those two examples (navigate using the table on the left):

http://lieutier.me/stuff/constantTime.html
http://lieutier.me/stuff/constantSpeed.html

--
Alice Lieutier
Received on Wednesday, 27 March 2013 21:28:35 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 27 March 2013 21:28:36 UTC