On Tue, Oct 13, 2009 at 3:07 PM, Ian Hickson <i...@hixie.ch> wrote: > On Wed, 9 Sep 2009, Darin Fisher wrote: > > What about navigating an iframe to a reference fragment, which could > > trigger a scroll event? The scrolling has to be done synchronously for > > compat with the web. > > You can only do that with same-domain pages, as far as I can tell. > > (Does that really have to be synchronous?
Later in the thread I mentioned that in Gecko, the 'scroll' event is asynchronous, which suggests that Web compatibility does not require it to be synchronous. > Right now we don't define the > 'scroll' event anywhere. What are the semantics it needs?) > Perhaps it should be defined in CSSOM, alongside scrollTop/scrollLeft? 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. Rob -- "He was pierced for our transgressions, he was crushed for our iniquities; the punishment that brought us peace was upon him, and by his wounds we are healed. We all, like sheep, have gone astray, each of us has turned to his own way; and the LORD has laid on him the iniquity of us all." [Isaiah 53:5-6]