- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 15 Jan 2010 06:11:07 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv30578
Modified Files:
Overview.html
Log Message:
Be clear that pushState() and replaceState() override the normal title-setting for an entry, but that normal navigation (e.g. by fragment identifier) gets its title from document.title. (whatwg r4591)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3667
retrieving revision 1.3668
diff -u -d -r1.3667 -r1.3668
--- Overview.html 15 Jan 2010 00:21:13 -0000 1.3667
+++ Overview.html 15 Jan 2010 06:11:03 -0000 1.3668
@@ -44431,14 +44431,13 @@
<li><p>Append a new entry at the end of the <code><a href="#history-0">History</a></code>
object representing the new resource and its <code>Document</code>
- object and related state, and set its URL to the address to which
- the user agent was <a href="#navigate" title="navigate">navigating</a>. (This
- will be the same as <a href="#the-document-s-address">the document's address</a>, but with a
- new fragment identifier.)</li>
+ object and related state. Its <a href="#url">URL</a> must be set to the
+ address to which the user agent was <a href="#navigate" title="navigate">navigating</a>. The title must be left
+ unset.</li>
<li><p><a href="#traverse-the-history">Traverse the history</a> to the new entry. This
- will <a href="#scroll-to-the-fragment-identifier">scroll to the fragment identifier</a> given in
- <a href="#the-document-s-current-address">the document's current address</a>.</li>
+ will <a href="#scroll-to-the-fragment-identifier">scroll to the fragment identifier</a> given in what
+ is now <a href="#the-document-s-current-address">the document's current address</a>.</li>
</ol><p class="note">If the scrolling fails because the relevant ID has
not yet been parsed, then the original <a href="#navigate" title="navigate">navigation</a> algorithm will take care of the
@@ -44520,6 +44519,11 @@
<li><p>Release the <a href="#storage-mutex">storage mutex</a>.</li>
+ <li><p>If the <a href="#current-entry">current entry</a>'s title was not set by the
+ <code title="dom-history-pushState"><a href="#dom-history-pushstate">pushState()</a></code> or <code title="dom-history-replaceState"><a href="#dom-history-replacestate">replaceState()</a></code> methods,
+ 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
Received on Friday, 15 January 2010 06:11:09 UTC