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

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Sun, 19 May 2013 01:19:46 -0700
Message-ID: <CAAWBYDAswUH9458=v+H0Z4-uyO32-wd1ErF-txosYM6=87jngQ@mail.gmail.com>
To: Lea Verou <lea@w3.org>
Cc: www-style list <www-style@w3.org>, Nat Duca <nduca@google.com>, James Simonsen <simonjam@chromium.org>, Tony Gentilcore <tonyg@google.com>, Tom Wiltzius <wiltzius@google.com>
On Sat, May 18, 2013 at 6:22 PM, Lea Verou <lea@w3.org> wrote:
> I agree that this is highly needed, but it doesn't solve the most common use case: Smooth scrolling when the UA scrolls to a specific :target due to a URL hash.
> Still, it would make things easier, but not easy enough.
> Unfortunately, I can't think of any syntax to suggest right now which solves that use case. :(

Simon already proposed that we *also* add a CSS property which, when
set, makes the element scroll smoothly for all scrolls.  That way you
can either do element/page-wide smooth scrolling, or per-operation
smooth scrolling.

~TJ
Received on Sunday, 19 May 2013 08:20:37 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:30 UTC