- From: poot <cvsmail@w3.org>
- Date: Sat, 21 Aug 2010 04:04:00 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: history.back() should fire unload too. (whatwg r5313) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4234&r2=1.4235&f=h http://html5.org/tools/web-apps-tracker?from=5312&to=5313 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.4234 retrieving revision 1.4235 diff -u -d -r1.4234 -r1.4235 --- Overview.html 18 Aug 2010 01:32:24 -0000 1.4234 +++ Overview.html 20 Aug 2010 18:58:13 -0000 1.4235 @@ -311,7 +311,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-18-august-2010">Editor's Draft 18 August 2010</h2> + <h2 class="no-num no-toc" id="editor-s-draft-20-august-2010">Editor's Draft 20 August 2010</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> @@ -417,7 +417,7 @@ Group</a> is the W3C working group responsible for this specification's progress along the W3C Recommendation track. - This specification is the 18 August 2010 Editor's Draft. + This specification is the 20 August 2010 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>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working group charter</a>.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- required patent boilerplate --><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 @@ -42569,7 +42569,7 @@ <li><p>If the index of the <a href="#current-entry-of-the-joint-session-history">current entry of the joint session history</a> plus <var title="">delta</var> is less than zero or greater than or equal to the number of items in the <a href="#joint-session-history">joint - session history</a>, then the user agent must do nothing.</p> + session history</a>, then abort these steps.</p> <li><p>Let <var title="">specified entry</var> be the entry in the <a href="#joint-session-history">joint session history</a> whose index is the sum of <var title="">delta</var> and the index of the <a href="#current-entry-of-the-joint-session-history">current entry of @@ -42579,8 +42579,15 @@ <a href="#browsing-context">browsing context</a> of the <var title="">specified entry</var>.</li> - <!-- XXX if going to another doc, try to unload the document here - (firing beforeunload, unload, pagehide) --> + <li><p><a href="#prompt-to-unload-a-document" title="prompt to unload a document">Prompt to + unload</a> the <a href="#active-document">active document</a> of the <var title="">specified browsing context</var>. If the user + <a href="#refused-to-allow-the-document-to-be-unloaded">refused to allow the document to be unloaded</a>, then + abort these steps.</li> + + <li><p><a href="#unload-a-document" title="unload a document">Unload</a> the the + <a href="#active-document">active document</a> of the <var title="">specified + browsing context</var> with the <var title="">recycle</var> + parameter set to false.</li> <li><p><a href="#traverse-the-history">Traverse the history</a> of the <var title="">specified browsing context</var> to the <var title="">specified entry</var>.</p> @@ -43121,6 +43128,15 @@ <a href="#browsing-context">browsing context</a>.</li> <!-- http://www.hixie.ch/tests/adhoc/html/navigation/unload/ --> + <li><p>If a <a href="#concept-task" title="concept-task">task</a> queued by the + <a href="#traverse-the-history-by-a-delta">traverse the history by a delta</a> algorithm is running + the <a href="#unload-a-document">unload a document</a> algorithm for the <a href="#active-document">active + document</a> of the <a href="#browsing-context">browsing context</a> being + navigated, then abort these steps without affecting the + <a href="#unload-a-document">unload a document</a> algorithm or the aforementioned + history traversal task.</li> <!-- this stops pages from + hijacking the back/forward button --> + <li><p>If there is a preexisting attempt to navigate the <a href="#browsing-context">browsing context</a>, and either that attempt has not yet <a href="#concept-navigate-mature" title="concept-navigate-mature">matured</a> (i.e. it has
Received on Friday, 20 August 2010 18:59:21 UTC