W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2010

[whatwg] scrollIntoView()

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 17 Aug 2010 13:56:33 +0200
Message-ID: <op.vhkzgjka64w2qv@anne-van-kesterens-macbook-pro.local>
On Tue, 17 Aug 2010 13:53:59 +0200, Olli Pettay <Olli at pettay.fi> wrote:
> What is your testcase here? I was looking at the code and seems like
> scrollToView is sync in Gecko. And a simple testcase showed that  
> window.scrollY was updated right after the method call.
> (note, scroll events aren't sync).

I was talking about the events. They are synchronous in WebKit as far as I  
can tell. I'm happy to define them as asynchronous though. Being  
compatible with Gecko seems better.

Anne van Kesteren
Received on Tuesday, 17 August 2010 04:56:33 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:26 UTC