[whatwg] scrollIntoView()
Robert O'Callahan
robert at ocallahan.org
Tue Aug 17 14:33:35 PDT 2010
On Tue, Aug 17, 2010 at 11:56 PM, Anne van Kesteren <annevk at opera.com>wrote:
> 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.
Async events are also generally safer to implement and use.
Rob
--
"Now the Bereans were of more noble character than the Thessalonians, for
they received the message with great eagerness and examined the Scriptures
every day to see if what Paul said was true." [Acts 17:11]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100818/444c5e78/attachment-0002.htm>
More information about the whatwg
mailing list