W3C home > Mailing lists > Public > public-html-commits@w3.org > November 2009

html5/spec-author-view Overview.html,1.501,1.502 acknowledgements.html,1.499,1.500 browsers.html,1.504,1.505 comms.html,1.501,1.502 dom.html,1.504,1.505 editing.html,1.503,1.504 embedded-content-0.html,1.499,1.500 forms.html,1.501,1.502 history.html,1.502,1.503 index.html,1.499,1.500 infrastructure.html,1.502,1.503 interactive-elements.html,1.501,1.502 introduction.html,1.500,1.501 microdata.html,1.499,1.500 named-character-references.html,1.500,1.501 obsolete.html,1.500,1.501 offline.html,1.499,1.500 references.html,1.499,1.500 semantics.html,1.503,1.504 spec.html,1.508,1.509 syntax.html,1.502,1.503 tabular-data.html,1.499,1.500 text-level-semantics.html,1.498,1.499 the-canvas-element.html,1.503,1.504 the-xhtml-syntax.html,1.498,1.499 video.html,1.503,1.504

From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 24 Nov 2009 01:07:16 +0000
To: Message-Id: <E1NCjsC-0002Zq-AZ@lionel-hutz.w3.org>
Update of /sources/public/html5/spec-author-view
In directory hutz:/tmp/cvs-serv9866

Modified Files:
	Overview.html acknowledgements.html browsers.html comms.html 
	dom.html editing.html embedded-content-0.html forms.html 
	history.html index.html infrastructure.html 
	interactive-elements.html introduction.html microdata.html 
	named-character-references.html obsolete.html offline.html 
	references.html semantics.html spec.html syntax.html 
	tabular-data.html text-level-semantics.html 
	the-canvas-element.html the-xhtml-syntax.html video.html 
Log Message:
Explain pushState()'s title better. (whatwg r4376)

[updated by splitter]


Index: infrastructure.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/infrastructure.html,v
retrieving revision 1.502
retrieving revision 1.503
diff -u -d -r1.502 -r1.503
--- infrastructure.html	21 Nov 2009 15:03:28 -0000	1.502
+++ infrastructure.html	24 Nov 2009 01:07:12 -0000	1.503
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3508.</p>
+<p>This is revision 1.3509.</p>
 
    </div><div>
    <a href="introduction.html">&#8592; 1 Introduction</a> &#8211;

Index: text-level-semantics.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/text-level-semantics.html,v
retrieving revision 1.498
retrieving revision 1.499
diff -u -d -r1.498 -r1.499
--- text-level-semantics.html	13 Nov 2009 01:50:13 -0000	1.498
+++ text-level-semantics.html	24 Nov 2009 01:07:13 -0000	1.499
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3508.</p>
+<p>This is revision 1.3509.</p>
 
    </div><div>
    <a href="semantics.html">&#8592; 4 The elements of HTML</a> &#8211;

Index: history.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/history.html,v
retrieving revision 1.502
retrieving revision 1.503
diff -u -d -r1.502 -r1.503
--- history.html	21 Nov 2009 15:03:28 -0000	1.502
+++ history.html	24 Nov 2009 01:07:12 -0000	1.503
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3508.</p>
+<p>This is revision 1.3509.</p>
 
    </div><div>
    <a href="offline.html">&#8592; 6.7 Offline Web applications</a> &#8211;
@@ -238,7 +238,13 @@
   all must model the same underlying <a href="#session-history">session history</a>.</p><p><code><a href="#history-0">History</a></code> objects represent their <a href="browsers.html#browsing-context">browsing
   context</a>'s session history as a flat list of <a href="#session-history-entry" title="session history entry">session history entries</a>. Each
   <dfn id="session-history-entry">session history entry</dfn> consists of either a
-  <a href="infrastructure.html#url">URL</a> or a <a href="#state-object">state object</a>, or both.</p><p>URLs without associated <a href="#state-object" title="state object">state
+  <a href="infrastructure.html#url">URL</a> or a <a href="#state-object">state object</a>, or both.</p><p class="note">Titles associated with <a href="#session-history-entry" title="session history
+  entry">session history entries</a> need not have any relation
+  with the current <code><a href="semantics.html#the-title-element-0">title</a></code> of the
+  <code>Document</code>. The title of a <a href="#session-history-entry">session history
+  entry</a> is intended to explain the state of the document at
+  that point, so that the user can navigate the document's
+  history.</p><p>URLs without associated <a href="#state-object" title="state object">state
   objects</a> are added to the session history as the user (or
   script) navigates from page to page.</p><p>A <dfn id="state-object">state object</dfn> is an object representing a user
   interface state.</p><p>Pages can <a href="#dom-history-pushstate" title="dom-history-pushState">add</a> <a href="#state-object" title="state object">state objects</a> between their entry in the
@@ -403,6 +409,35 @@
    more convenient form, so that the script doesn't have to parse the
    URL each time the user navigates.</p>
 
+  </div><div class="example">
+
+   <p>Applications might not use the same title for a <a href="#session-history-entry">session
+   history entry</a> as the value of the document's
+   <code><a href="semantics.html#the-title-element-0">title</a></code> element at that time. For example, here is a
+   simple page that shows a block in the <code><a href="semantics.html#the-title-element-0">title</a></code> element.
+   Clearly, when navigating backwards to a previous state the user
+   does not go back in time, and therefore it would be inappropriate
+   to put the time in the session history title.</p>
+
+   <pre>&amp;l;t!DOCTYPE HTML&gt; 
+&amp;l;tTITLE&gt;Line&amp;l;t/TITLE&gt;
+&amp;l;tSCRIPT&gt;
+ setInterval(function () { document.title = 'Line - ' + new Date(); }, 1000);
+ var i = 1;
+ function inc() {
+   set(i+1);
+   history.pushState(i, 'Line - ' + i);
+ }
+ function set(newI) {
+   i = newI;
+   document.forms.F.I.value = newI;
+ }
+&amp;l;t/SCRIPT&gt;
+&amp;l;tBODY ONPOPSTATE="recover(event.state)"&gt;
+&amp;l;tFORM NAME=F&gt;
+State: &amp;l;tOUTPUT NAME=I&gt;1&amp;l;t/OUTPUT&gt; &amp;l;tINPUT VALUE="Increment" TYPE=BUTTON ONCLICK="inc()"&gt;
+&amp;l;t/FORM&gt;</pre>
+
   </div><h4 id="activating-state-object-entries"><span class="secno">6.8.3 </span><dfn title="activate the state object">Activating state object entries</dfn></h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><pre class="idl">interface <dfn id="popstateevent">PopStateEvent</dfn> : Event {
   readonly attribute any <a href="#dom-popstateevent-state" title="dom-PopStateEvent-state">state</a>;
   void <a href="#dom-popstateevent-initpopstateevent" title="dom-PopStateEvent-initPopStateEvent">initPopStateEvent</a>(in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in any stateArg);

Index: tabular-data.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/tabular-data.html,v
retrieving revision 1.499
retrieving revision 1.500
diff -u -d -r1.499 -r1.500
--- tabular-data.html	13 Nov 2009 01:50:13 -0000	1.499
+++ tabular-data.html	24 Nov 2009 01:07:13 -0000	1.500
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3508.</p>
+<p>This is revision 1.3509.</p>
 
    </div><div>
    <a href="the-canvas-element.html">&#8592; 4.8.11 The canvas element</a> &#8211;

Index: microdata.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/microdata.html,v
retrieving revision 1.499
retrieving revision 1.500
diff -u -d -r1.499 -r1.500
--- microdata.html	13 Nov 2009 01:50:12 -0000	1.499
+++ microdata.html	24 Nov 2009 01:07:12 -0000	1.500
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3508.</p>
+<p>This is revision 1.3509.</p>
 
    </div><div>
    <a href="interactive-elements.html">&#8592; 4.11 Interactive elements</a> &#8211;

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/Overview.html,v
retrieving revision 1.501
retrieving revision 1.502
diff -u -d -r1.501 -r1.502
--- Overview.html	13 Nov 2009 01:50:11 -0000	1.501
+++ Overview.html	24 Nov 2009 01:07:11 -0000	1.502
@@ -217,7 +217,7 @@
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
 
-   <h2 class="no-num no-toc" id="editor-s-draft-13-november-2009">Editor's Draft 13 November 2009</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-24-november-2009">Editor's Draft 24 November 2009</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -236,7 +236,7 @@
    </dl><p>This specification is available in the following formats: 
     <a href="spec.html">single page HTML</a>,
     <a href="Overview.html">multipage HTML</a>.
-This is revision 1.3508.
+This is revision 1.3509.
    </p>
    <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
    &#169; 2009 <a href="http://www.w3.org/"><abbr title="World Wide
@@ -315,7 +315,7 @@
   specification's progress along the W3C Recommendation
   track.
 
-  This specification is the 13 November 2009 Editor's Draft.
+  This specification is the 24 November 2009 Editor's Draft.
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>This specification is also being produced by the <a href="http://www.whatwg.org/">WHATWG</a>. The two specifications are
   identical from the table of contents onwards.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- context and rationale (required) --><p>This specification is intended to replace (be a new version of)
   what was previously the HTML4, XHTML1, and DOM2 HTML

Index: embedded-content-0.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/embedded-content-0.html,v
retrieving revision 1.499
retrieving revision 1.500
diff -u -d -r1.499 -r1.500
--- embedded-content-0.html	13 Nov 2009 01:50:11 -0000	1.499
+++ embedded-content-0.html	24 Nov 2009 01:07:12 -0000	1.500
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3508.</p>
+<p>This is revision 1.3509.</p>
 
    </div><div>
    <a href="dom.html">&#8592; 3 Semantics, structure, and APIs of HTML documents</a> &#8211;

Index: dom.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/dom.html,v
retrieving revision 1.504
retrieving revision 1.505
diff -u -d -r1.504 -r1.505
--- dom.html	21 Nov 2009 15:03:27 -0000	1.504
+++ dom.html	24 Nov 2009 01:07:11 -0000	1.505
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3508.</p>
+<p>This is revision 1.3509.</p>
 
    </div><div>
    <a href="infrastructure.html">&#8592; 2 Common infrastructure</a> &#8211;

Index: acknowledgements.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/acknowledgements.html,v
retrieving revision 1.499
retrieving revision 1.500
diff -u -d -r1.499 -r1.500
--- acknowledgements.html	13 Nov 2009 01:50:11 -0000	1.499
+++ acknowledgements.html	24 Nov 2009 01:07:11 -0000	1.500
@@ -218,7 +218,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3508.</p>
+<p>This is revision 1.3509.</p>
 
    </div><div>
    <a href="references.html">&#8592; References</a> &#8211;

Index: the-canvas-element.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/the-canvas-element.html,v
retrieving revision 1.503
retrieving revision 1.504
diff -u -d -r1.503 -r1.504
--- the-canvas-element.html	21 Nov 2009 15:03:28 -0000	1.503
+++ the-canvas-element.html	24 Nov 2009 01:07:13 -0000	1.504
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3508.</p>
+<p>This is revision 1.3509.</p>
 
    </div><div>
    <a href="video.html">&#8592; 4.8.7 The video element</a> &#8211;

Index: forms.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/forms.html,v
retrieving revision 1.501
retrieving revision 1.502
diff -u -d -r1.501 -r1.502
--- forms.html	13 Nov 2009 01:50:12 -0000	1.501
+++ forms.html	24 Nov 2009 01:07:12 -0000	1.502
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3508.</p>
+<p>This is revision 1.3509.</p>
 
    </div><div>
    <a href="tabular-data.html">&#8592; 4.9 Tabular data</a> &#8211;

Index: interactive-elements.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/interactive-elements.html,v
retrieving revision 1.501
retrieving revision 1.502
diff -u -d -r1.501 -r1.502
--- interactive-elements.html	21 Nov 2009 15:03:28 -0000	1.501
+++ interactive-elements.html	24 Nov 2009 01:07:12 -0000	1.502
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3508.</p>
+<p>This is revision 1.3509.</p>
 
    </div><div>
    <a href="forms.html">&#8592; 4.10 Forms</a> &#8211;

Index: editing.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/editing.html,v
retrieving revision 1.503
retrieving revision 1.504
diff -u -d -r1.503 -r1.504
--- editing.html	21 Nov 2009 15:03:28 -0000	1.503
+++ editing.html	24 Nov 2009 01:07:12 -0000	1.504
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3508.</p>
+<p>This is revision 1.3509.</p>
 
    </div><div>
    <a href="history.html">&#8592; 6.8 Session history and navigation</a> &#8211;

Index: video.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/video.html,v
retrieving revision 1.503
retrieving revision 1.504
diff -u -d -r1.503 -r1.504
--- video.html	21 Nov 2009 15:03:28 -0000	1.503
+++ video.html	24 Nov 2009 01:07:13 -0000	1.504
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3508.</p>
+<p>This is revision 1.3509.</p>
 
    </div><div>
    <a href="text-level-semantics.html">&#8592; 4.6 Text-level semantics</a> &#8211;

Index: browsers.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/browsers.html,v
retrieving revision 1.504
retrieving revision 1.505
diff -u -d -r1.504 -r1.505
--- browsers.html	21 Nov 2009 15:03:27 -0000	1.504
+++ browsers.html	24 Nov 2009 01:07:11 -0000	1.505
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3508.</p>
+<p>This is revision 1.3509.</p>
 
    </div><div>
    <a href="microdata.html">&#8592; 5 Microdata</a> &#8211;

Index: the-xhtml-syntax.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/the-xhtml-syntax.html,v
retrieving revision 1.498
retrieving revision 1.499
diff -u -d -r1.498 -r1.499
--- the-xhtml-syntax.html	13 Nov 2009 01:50:13 -0000	1.498
+++ the-xhtml-syntax.html	24 Nov 2009 01:07:13 -0000	1.499
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3508.</p>
+<p>This is revision 1.3509.</p>
 
    </div><div>
    <a href="named-character-references.html">&#8592; 9.2 Named character references</a> &#8211;

Index: offline.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/offline.html,v
retrieving revision 1.499
retrieving revision 1.500
diff -u -d -r1.499 -r1.500
--- offline.html	13 Nov 2009 01:50:12 -0000	1.499
+++ offline.html	24 Nov 2009 01:07:12 -0000	1.500
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3508.</p>
+<p>This is revision 1.3509.</p>
 
    </div><div>
    <a href="browsers.html">&#8592; 6 Web browsers</a> &#8211;

Index: syntax.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/syntax.html,v
retrieving revision 1.502
retrieving revision 1.503
diff -u -d -r1.502 -r1.503
--- syntax.html	13 Nov 2009 01:50:13 -0000	1.502
+++ syntax.html	24 Nov 2009 01:07:13 -0000	1.503
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3508.</p>
+<p>This is revision 1.3509.</p>
 
    </div><div>
    <a href="comms.html">&#8592; 8 Communication</a> &#8211;

Index: obsolete.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/obsolete.html,v
retrieving revision 1.500
retrieving revision 1.501
diff -u -d -r1.500 -r1.501
--- obsolete.html	13 Nov 2009 01:50:12 -0000	1.500
+++ obsolete.html	24 Nov 2009 01:07:12 -0000	1.501
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3508.</p>
+<p>This is revision 1.3509.</p>
 
    </div><div>
    <a href="the-xhtml-syntax.html">&#8592; 10 The XHTML syntax</a> &#8211;

Index: named-character-references.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/named-character-references.html,v
retrieving revision 1.500
retrieving revision 1.501
diff -u -d -r1.500 -r1.501
--- named-character-references.html	13 Nov 2009 01:50:12 -0000	1.500
+++ named-character-references.html	24 Nov 2009 01:07:12 -0000	1.501
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3508.</p>
+<p>This is revision 1.3509.</p>
 
    </div><div>
    <a href="syntax.html">&#8592; 9 The HTML syntax</a> &#8211;

Index: references.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/references.html,v
retrieving revision 1.499
retrieving revision 1.500
diff -u -d -r1.499 -r1.500
--- references.html	13 Nov 2009 01:50:12 -0000	1.499
+++ references.html	24 Nov 2009 01:07:12 -0000	1.500
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3508.</p>
+<p>This is revision 1.3509.</p>
 
    </div><div>
    <a href="index.html">&#8592; Index</a> &#8211;

Index: semantics.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/semantics.html,v
retrieving revision 1.503
retrieving revision 1.504
diff -u -d -r1.503 -r1.504
--- semantics.html	21 Nov 2009 15:03:28 -0000	1.503
+++ semantics.html	24 Nov 2009 01:07:12 -0000	1.504
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3508.</p>
+<p>This is revision 1.3509.</p>
 
    </div><div>
    <a href="embedded-content-0.html">&#8592; 3.2.5.1.6 Embedded content</a> &#8211;

Index: index.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/index.html,v
retrieving revision 1.499
retrieving revision 1.500
diff -u -d -r1.499 -r1.500
--- index.html	13 Nov 2009 01:50:12 -0000	1.499
+++ index.html	24 Nov 2009 01:07:12 -0000	1.500
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3508.</p>
+<p>This is revision 1.3509.</p>
 
    </div><div>
    <a href="iana.html">&#8592; 12 IANA considerations</a> &#8211;

Index: comms.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/comms.html,v
retrieving revision 1.501
retrieving revision 1.502
diff -u -d -r1.501 -r1.502
--- comms.html	13 Nov 2009 01:50:11 -0000	1.501
+++ comms.html	24 Nov 2009 01:07:11 -0000	1.502
@@ -219,7 +219,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3508.</p>
+<p>This is revision 1.3509.</p>
 
    </div><div>
    <a href="editing.html">&#8592; 7 User Interaction</a> &#8211;

Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/spec.html,v
retrieving revision 1.508
retrieving revision 1.509
diff -u -d -r1.508 -r1.509
--- spec.html	21 Nov 2009 15:03:28 -0000	1.508
+++ spec.html	24 Nov 2009 01:07:13 -0000	1.509
@@ -215,7 +215,7 @@
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id=a-vocabulary-and-associated-apis-for-html-and-xhtml>A vocabulary and associated APIs for HTML and XHTML</h2>
 
-   <h2 class="no-num no-toc" id=editor-s-draft-13-november-2009>Editor's Draft 13 November 2009</h2>
+   <h2 class="no-num no-toc" id=editor-s-draft-24-november-2009>Editor's Draft 24 November 2009</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href=http://www.w3.org/TR/html5/>http://www.w3.org/TR/html5/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -234,7 +234,7 @@
    </dl><p>This specification is available in the following formats: 
     <a href=spec.html>single page HTML</a>,
     <a href=Overview.html>multipage HTML</a>.
-This is revision 1.3508.
+This is revision 1.3509.
    </p>
    <p class=copyright><a href=http://www.w3.org/Consortium/Legal/ipr-notice#Copyright>Copyright</a>
    © 2009 <a href=http://www.w3.org/><abbr title="World Wide
@@ -313,7 +313,7 @@
   specification's progress along the W3C Recommendation
   track.
 
-  This specification is the 13 November 2009 Editor's Draft.
+  This specification is the 24 November 2009 Editor's Draft.
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>This specification is also being produced by the <a href=http://www.whatwg.org/>WHATWG</a>. The two specifications are
   identical from the table of contents onwards.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- context and rationale (required) --><p>This specification is intended to replace (be a new version of)
   what was previously the HTML4, XHTML1, and DOM2 HTML
@@ -23345,7 +23345,13 @@
   all must model the same underlying <a href=#session-history>session history</a>.</p><p><code><a href=#history-0>History</a></code> objects represent their <a href=#browsing-context>browsing
   context</a>'s session history as a flat list of <a href=#session-history-entry title="session history entry">session history entries</a>. Each
   <dfn id=session-history-entry>session history entry</dfn> consists of either a
-  <a href=#url>URL</a> or a <a href=#state-object>state object</a>, or both.</p><p>URLs without associated <a href=#state-object title="state object">state
+  <a href=#url>URL</a> or a <a href=#state-object>state object</a>, or both.</p><p class=note>Titles associated with <a href=#session-history-entry title="session history
+  entry">session history entries</a> need not have any relation
+  with the current <code><a href=#the-title-element-0>title</a></code> of the
+  <code>Document</code>. The title of a <a href=#session-history-entry>session history
+  entry</a> is intended to explain the state of the document at
+  that point, so that the user can navigate the document's
+  history.</p><p>URLs without associated <a href=#state-object title="state object">state
   objects</a> are added to the session history as the user (or
   script) navigates from page to page.</p><p>A <dfn id=state-object>state object</dfn> is an object representing a user
   interface state.</p><p>Pages can <a href=#dom-history-pushstate title=dom-history-pushState>add</a> <a href=#state-object title="state object">state objects</a> between their entry in the
@@ -23510,6 +23516,35 @@
    more convenient form, so that the script doesn't have to parse the
    URL each time the user navigates.</p>
 
+  </div><div class=example>
+
+   <p>Applications might not use the same title for a <a href=#session-history-entry>session
+   history entry</a> as the value of the document's
+   <code><a href=#the-title-element-0>title</a></code> element at that time. For example, here is a
+   simple page that shows a block in the <code><a href=#the-title-element-0>title</a></code> element.
+   Clearly, when navigating backwards to a previous state the user
+   does not go back in time, and therefore it would be inappropriate
+   to put the time in the session history title.</p>
+
+   <pre>&amp;l;t!DOCTYPE HTML&gt; 
+&amp;l;tTITLE&gt;Line&amp;l;t/TITLE&gt;
+&amp;l;tSCRIPT&gt;
+ setInterval(function () { document.title = 'Line - ' + new Date(); }, 1000);
+ var i = 1;
+ function inc() {
+   set(i+1);
+   history.pushState(i, 'Line - ' + i);
+ }
+ function set(newI) {
+   i = newI;
+   document.forms.F.I.value = newI;
+ }
+&amp;l;t/SCRIPT&gt;
+&amp;l;tBODY ONPOPSTATE="recover(event.state)"&gt;
+&amp;l;tFORM NAME=F&gt;
+State: &amp;l;tOUTPUT NAME=I&gt;1&amp;l;t/OUTPUT&gt; &amp;l;tINPUT VALUE="Increment" TYPE=BUTTON ONCLICK="inc()"&gt;
+&amp;l;t/FORM&gt;</pre>
+
   </div><h4 id=activating-state-object-entries><span class=secno>6.8.3 </span><dfn title="activate the state object">Activating state object entries</dfn></h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><pre class=idl>interface <dfn id=popstateevent>PopStateEvent</dfn> : Event {
   readonly attribute any <a href=#dom-popstateevent-state title=dom-PopStateEvent-state>state</a>;
   void <a href=#dom-popstateevent-initpopstateevent title=dom-PopStateEvent-initPopStateEvent>initPopStateEvent</a>(in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in any stateArg);

Index: introduction.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/introduction.html,v
retrieving revision 1.500
retrieving revision 1.501
diff -u -d -r1.500 -r1.501
--- introduction.html	13 Nov 2009 01:50:12 -0000	1.500
+++ introduction.html	24 Nov 2009 01:07:12 -0000	1.501
@@ -218,7 +218,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-<p>This is revision 1.3508.</p>
+<p>This is revision 1.3509.</p>
 
    </div><div>
    <a href="Overview.html#contents">Table of contents</a> &#8211;
Received on Tuesday, 24 November 2009 01:07:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 24 November 2009 01:07:26 GMT