- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 27 Aug 2010 23:03:02 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv3351
Modified Files:
Overview.html
Log Message:
Make popstate fire even when there's no new state (whatwg r5377)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4291
retrieving revision 1.4292
diff -u -d -r1.4291 -r1.4292
--- Overview.html 27 Aug 2010 21:50:55 -0000 1.4291
+++ Overview.html 27 Aug 2010 23:02:58 -0000 1.4292
@@ -44237,42 +44237,34 @@
its rendering, for instance the scroll position or values of form
fields, that it had previously recorded.</li>
- <li>
-
- <p>If the <i>specified entry</i> is a state object or the first
- entry for a <code><a href="#document">Document</a></code>, the user agent must run the
- following substeps:</p>
-
- <ol><li><p>If the entry is a <a href="#state-object">state object</a> entry, let <var title="">state</var> be a <a href="#structured-clone">structured clone</a> of that
- state object. Otherwise, let <var title="">state</var> be
- null.</li>
-
- <li>
+ <li><p>If the entry is a <a href="#state-object">state object</a> entry, let <var title="">state</var> be a <a href="#structured-clone">structured clone</a> of that
+ state object. Otherwise, let <var title="">state</var> be
+ null.</li>
- <p>Run the appropriate steps according to the conditions
- described:</p>
+ <li>
- <dl class="switch"><dt>If the <a href="#current-document-readiness">current document readiness</a> is set to the
- string "complete"</dt>
+ <p>Run the appropriate steps according to the conditions
+ described:</p>
- <dd><p><a href="#queue-a-task">Queue a task</a> to fire a <code title="event-popstate"><a href="#event-popstate">popstate</a></code> event at the
- <code><a href="#window">Window</a></code> object of the <code><a href="#document">Document</a></code>, using
- the <code><a href="#popstateevent">PopStateEvent</a></code> interface, with the <code title="dom-PopStateEvent-state"><a href="#dom-popstateevent-state">state</a></code> attribute set to
- the value of <var title="">state</var>. This event must bubble
- but not be cancelable and has no default action.</dd>
+ <dl class="switch"><dt>If the <a href="#current-document-readiness">current document readiness</a> is set to the
+ string "complete"</dt>
- <dt>Otherwise</dt>
+ <dd><p><a href="#queue-a-task">Queue a task</a> to fire a <code title="event-popstate"><a href="#event-popstate">popstate</a></code> event at the
+ <code><a href="#window">Window</a></code> object of the <code><a href="#document">Document</a></code>, using
+ the <code><a href="#popstateevent">PopStateEvent</a></code> interface, with the <code title="dom-PopStateEvent-state"><a href="#dom-popstateevent-state">state</a></code> attribute set to the
+ value of <var title="">state</var>. This event must bubble but
+ not be cancelable and has no default action.</dd>
- <dd><p>Let the <code><a href="#document">Document</a></code>'s <dfn id="pending-state-object">pending state
- object</dfn> be <var title="">state</var>. (If there was already
- a <a href="#pending-state-object">pending state object</a>, the previous one is
- discarded.)</p>
+ <dt>Otherwise</dt>
- <p class="note">The event will then be fired just after the <code title="event-load">load</code> event.</dd>
+ <dd><p>Let the <code><a href="#document">Document</a></code>'s <dfn id="pending-state-object">pending state
+ object</dfn> be <var title="">state</var>. (If there was already
+ a <a href="#pending-state-object">pending state object</a>, the previous one is
+ discarded.)</p>
- </dl></li>
+ <p class="note">The event will then be fired just after the <code title="event-load">load</code> event.</dd>
- </ol></li>
+ </dl></li>
<li><p>If <var title="">hash changed</var> is true, then
<a href="#queue-a-task">queue a task</a> to fire a <code title="event-hashchange"><a href="#event-hashchange">hashchange</a></code> event at the
Received on Friday, 27 August 2010 23:03:07 UTC