Re: [cssom-view] scroll events

On Tue, 13 Oct 2009 09:46:31 +0200, Anne van Kesteren <>  
>  From the WHATWG list, by roc:
>> In Gecko, it's just something that fires asynchronously
>> after a node's scrollTop/scrollLeft have changed. Scroll
>> events for the viewport fire at the document and bubble
>> to the window, scroll events on elements with 'overflow'
>> not 'visible' fire at that element and don't bubble."

This is now defined as well, including that only a single event is  
dispatched in this scenario:

   document.body.scrollTop = 500
   document.body.scrollTop = 0

I.e. when there is a sequence of scrollTop/scrollLeft/scroll() invocations.

What I changed is that the event is not cancelable (since it is not). Let  
me know if that is a problem.

Links to definitions in the specification:

Anne van Kesteren

Received on Friday, 13 August 2010 06:50:53 UTC