W3C home > Mailing lists > Public > public-html-diffs@w3.org > October 2010

hixie: add a note about script execution (whatwg r5597)

From: poot <cvsmail@w3.org>
Date: Tue, 12 Oct 2010 07:02:27 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20101011220228.305A433B7E@toro.w3.mag.keio.ac.jp>
hixie: add a note about script execution (whatwg r5597)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4474&r2=1.4475&f=h
http://html5.org/tools/web-apps-tracker?from=5596&to=5597

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4474
retrieving revision 1.4475
diff -u -d -r1.4474 -r1.4475
--- Overview.html	7 Oct 2010 22:50:46 -0000	1.4474
+++ Overview.html	11 Oct 2010 22:02:08 -0000	1.4475
@@ -316,7 +316,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-7-october-2010">Editor's Draft 7 October 2010</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-11-october-2010">Editor's Draft 11 October 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>
@@ -422,7 +422,7 @@
   Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation
   track.
-  This specification is the 7 October 2010 Editor's Draft.
+  This specification is the 11 October 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
@@ -12693,6 +12693,26 @@
   <code><a href="#document">Document</a></code> is used by the <code><a href="#document">Document</a></code>'s
   parser(s).</p>
 
+  <p class="note">If a <code><a href="#script">script</a></code> element that blocks a
+  parser gets moved to another <code><a href="#document">Document</a></code> before it would
+  normally have stopped blocking that parser, it nonetheless continues
+  blocking that parser until the condition that causes it to be
+  blocking the parser no longer applies (e.g. if the script is a
+  <a href="#pending-parsing-blocking-script">pending parsing-blocking script</a> because there was
+  <a href="#a-style-sheet-that-is-blocking-scripts">a style sheet that is blocking scripts</a> when it was
+  parsed, but then the script is moved to another
+  <code><a href="#document">Document</a></code> before the style sheet loads, the script still
+  blocks the parser until the style sheets are all loaded, at which
+  time the script executes and the parser is unblocked).</p>
+
+  <!-- also (and this would be worth testing): the way the spec is
+  written, if you do not have a style sheet that is blocking scripts,
+  then you parse a <script src>, then while waiting for the script to
+  load you insert an external style sheet, the script will delay until
+  the sheet is loaded, because there's just a binary "are style sheets
+  blocking scripts" state, things aren't defined in terms of which
+  style sheets are blocking which scripts -->
+
   <p><dfn id="executing-a-script-block" title="executing a script block">Executing a script
   block</dfn>: When the steps above require that the script block be
   executed, the user agent must act as follows:</p>
Received on Monday, 11 October 2010 22:02:56 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:09:11 UTC