Skip to content

Commit

Permalink
[giw] (2) 'hashchange' is supposed to be async.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@3319 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jun 26, 2009
1 parent 5181939 commit 4681021
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 5 additions & 3 deletions index
Expand Up @@ -51669,11 +51669,13 @@ style/default.css</pre>
the <a href=#current-entry>current entry</a>'s only by its fragment identifier,
and the two share the same <code>Document</code> object, then
first, if the <code>Document</code>'s <a href=#current-document-readiness>current document
readiness</a> is the string "complete", then <a href=#fire-a-simple-event>fire a simple
event</a> with the name <code title=event-hashchange>hashchange</code> at the <a href=#browsing-context>browsing
readiness</a> is the string "complete", then <a href=#queue-a-task>queue a
task</a> to <a href=#fire-a-simple-event>fire a simple event</a> with the name <code title=event-hashchange>hashchange</code> at the <a href=#browsing-context>browsing
context</a>'s <code><a href=#window>Window</a></code> object; and second, if the new
URL has a fragment identifier, <a href=#scroll-to-the-fragment-identifier>scroll to the fragment
identifier</a>.</li>
identifier</a>. The <a href=#task-source>task source</a> for the task that
fires the <code title=event-hashchange>hashchange</code> event is
the <a href=#dom-manipulation-task-source>DOM manipulation task source</a>.</li>

<li><p>User agents may also update other aspects of the document
view when the location changes in this way, for instance the scroll
Expand Down
8 changes: 5 additions & 3 deletions source
Expand Up @@ -58991,12 +58991,14 @@ style/default.css</pre>
the <span>current entry</span>'s only by its fragment identifier,
and the two share the same <code>Document</code> object, then
first, if the <code>Document</code>'s <span>current document
readiness</span> is the string "complete", then <span>fire a simple
event</span> with the name <code
readiness</span> is the string "complete", then <span>queue a
task</span> to <span>fire a simple event</span> with the name <code
title="event-hashchange">hashchange</code> at the <span>browsing
context</span>'s <code>Window</code> object; and second, if the new
URL has a fragment identifier, <span>scroll to the fragment
identifier</span>.</p></li>
identifier</span>. The <span>task source</span> for the task that
fires the <code title="event-hashchange">hashchange</code> event is
the <span>DOM manipulation task source</span>.</p></li>

<li><p>User agents may also update other aspects of the document
view when the location changes in this way, for instance the scroll
Expand Down

0 comments on commit 4681021

Please sign in to comment.