- From: poot <cvsmail@w3.org>
- Date: Sun, 26 Sep 2010 00:32:22 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: Also make pushState() store UA state such as scroll position.
(whatwg r5485)
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4376&r2=1.4377&f=h
http://html5.org/tools/web-apps-tracker?from=5484&to=5485
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4376
retrieving revision 1.4377
diff -u -d -r1.4376 -r1.4377
--- Overview.html 25 Sep 2010 15:16:43 -0000 1.4376
+++ Overview.html 25 Sep 2010 15:32:08 -0000 1.4377
@@ -42945,7 +42945,10 @@
for the <a href="#dom-location-href" title="dom-location-href">location</a> of the
<code><a href="#document">Document</a></code>. However, it can also be one of the entries
for <a href="#state-object" title="state object">state objects</a> added to the
- history by that document.<p>Entries that consist of <a href="#state-object" title="state object">state
+ history by that document.<p><dfn id="an-entry-with-persisted-user-state">An entry with persisted user state</dfn> is one that also
+ has user-agent defined state. This specification does not specify
+ what kind of state can be stored.<p class="example">For example, some user agents might want to
+ persist the scroll position, or the values of form controls.<p>Entries that consist of <a href="#state-object" title="state object">state
objects</a> share the same <code><a href="#document">Document</a></code> as the entry for
the page that was active when they were added.<p>Contiguous entries that differ just by fragment identifier also
share the same <code><a href="#document">Document</a></code>.<p class="note">All entries that share the same
@@ -43177,6 +43180,11 @@
<li><p>Remove any <a href="#concept-task" title="concept-task">tasks</a> queued
by the <a href="#history-traversal-task-source">history traversal task source</a>.</li>
+ <li><p>If appropriate, update the <a href="#current-entry">current entry</a> to
+ reflect any state that the user agent wishes to persist. The
+ entry is then said to be <a href="#an-entry-with-persisted-user-state">an entry with persisted user
+ state</a>.</li>
+
<li><p>Add a state object entry to the session history, after the
<a href="#current-entry">current entry</a>, with <var title="">cloned data</var> as
the state object, the given <var title="">title</var> as the title,
@@ -44422,18 +44430,11 @@
then set its title to the value returned by the <code title="dom-document-title"><a href="#document.title">document.title</a></code> IDL
attribute.</li>
- <li>
-
- <p>If appropriate, update the <a href="#current-entry">current entry</a> in the
- <a href="#browsing-context">browsing context</a>'s <code><a href="#document">Document</a></code> object's
- <code><a href="#history-0">History</a></code> object to reflect any state that the user
- agent wishes to persist. The entry is then said to be <dfn id="an-entry-with-persisted-user-state">an
- entry with persisted user state</dfn>.</p>
-
- <p class="example">For example, some user agents might want to
- persist the scroll position, or the values of form controls.</p>
-
- </li>
+ <li><p>If appropriate, update the <a href="#current-entry">current entry</a> in the
+ <a href="#browsing-context">browsing context</a>'s <code><a href="#document">Document</a></code> object's
+ <code><a href="#history-0">History</a></code> object to reflect any state that the user
+ agent wishes to persist. The entry is then said to be <a href="#an-entry-with-persisted-user-state">an
+ entry with persisted user state</a>.</li>
<li><p>If the <i>specified entry</i> has a different
<code><a href="#document">Document</a></code> object than the <a href="#current-entry">current entry</a>
Received on Saturday, 25 September 2010 15:33:18 UTC