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

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

From: Garrett Smith <dhtmlkitchen@gmail.com>
Date: Tue, 19 Mar 2013 17:17:43 -0700
Message-ID: <CABZUbM2mjk9HoHOhBU602tqrgW=c8ihwkopS9kqcvxi=jWPgNA@mail.gmail.com>
To: Simon Pieters <simonp@opera.com>
Cc: www-style list <www-style@w3.org>, "Tab Atkins Jr." <jackalmage@gmail.com>, Nat Duca <nduca@google.com>, James Simonsen <simonjam@chromium.org>, Tony Gentilcore <tonyg@google.com>, Tom Wiltzius <wiltzius@google.com>
On 3/19/13, Simon Pieters <simonp@opera.com> wrote:
> On Tue, 19 Mar 2013 18:46:03 +0100, Tab Atkins Jr. <jackalmage@gmail.com>
> wrote:
>
>
> Is there no desire to control how long it should take to scroll? Is there
> no desire to control the timing function (ease/linear/etc)?
>
Or perhaps an alternate way to do that:

<a href="#faq_sources">Where do your sources come from?</a>
...
<h3 tabindex id="faq_sources" class="fa>Where do your sources come from?</h3>



#faq_sources:focus {
  scroll-into-view: top  ease-in-out;
}
-- 
Garrett
Twitter: @xkit
personx.tumblr.com
Received on Wednesday, 20 March 2013 00:18:10 GMT

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