html5/spec Overview.html,1.3268,1.3269

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv14273

Modified Files:
	Overview.html 
Log Message:
Make sure the history is updated before scripts run. (whatwg r4110)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3268
retrieving revision 1.3269
diff -u -d -r1.3268 -r1.3269
--- Overview.html	12 Oct 2009 05:40:08 -0000	1.3268
+++ Overview.html	12 Oct 2009 05:44:29 -0000	1.3269
@@ -47334,9 +47334,10 @@
   which eventually causes a <code title="event-load">load</code> event
   to be fired.</p>
 
-  <p>After creating the <code>Document</code> object, but potentially
-  before the page has finished parsing, the user agent must
-  <a href="#update-the-session-history-with-the-new-page">update the session history with the new page</a>.</p>
+  <p>After creating the <code>Document</code> object, but before any
+  script execution, certainly before the parser <a href="#stop-parsing" title="stop
+  parsing">stops</a>, the user agent must <a href="#update-the-session-history-with-the-new-page">update the session
+  history with the new page</a>.</p>
 
   <p class="note"><a href="#concept-appcache-init" title="concept-appcache-init">Application
   cache selection</a> happens <a href="#parser-appcache">in the
@@ -47393,7 +47394,8 @@
   <p>Otherwise, then, with the newly created <code>Document</code>,
   the user agents must <a href="#update-the-session-history-with-the-new-page">update the session history with the new
   page</a>. User agents may do this before the complete document
-  has been parsed (thus achieving <i>incremental rendering</i>).</p>
+  has been parsed (thus achieving <i>incremental rendering</i>), and
+  must do this before any scripts are to be executed.</p>
 
   <p>Error messages from the parse process (e.g. XML namespace
   well-formedness errors) may be reported inline by mutating the

Received on Monday, 12 October 2009 05:44:36 UTC