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

> 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