[html5] r7290 - [giow] (3) Change how <script> is handled in re-entrant parser situations when t [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Aug 27 21:48:04 PDT 2012


Author: ianh
Date: 2012-08-27 21:48:03 -0700 (Mon, 27 Aug 2012)
New Revision: 7290

Modified:
   complete.html
   index
   source
Log:
[giow] (3) Change how <script> is handled in re-entrant parser situations when there's a blocking style sheet.
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2012-08-27 23:16:59 UTC (rev 7289)
+++ complete.html	2012-08-28 04:48:03 UTC (rev 7290)
@@ -246,7 +246,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 27 August 2012</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 28 August 2012</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -16946,7 +16946,10 @@
      <dt id=script-processing-style-delayed>If the element does not
      have a <code title=attr-script-src><a href=#attr-script-src>src</a></code> attribute, and
      the element has been flagged as <a href=#parser-inserted>"parser-inserted"</a>,
-     and the <code><a href=#document>Document</a></code> of the <a href=#html-parser>HTML parser</a> or
+     and either the parser that created the <code><a href=#the-script-element>script</a></code> is an
+     <a href=#xml-parser>XML parser</a> or it's an <a href=#html-parser>HTML parser</a> whose
+     <a href=#script-nesting-level>script nesting level</a> is zero, and the
+     <code><a href=#document>Document</a></code> of the <a href=#html-parser>HTML parser</a> or
      <a href=#xml-parser>XML parser</a> that created the <code><a href=#the-script-element>script</a></code>
      element <a href=#has-a-style-sheet-that-is-blocking-scripts>has a style sheet that is blocking
      scripts</a></dt>

Modified: index
===================================================================
--- index	2012-08-27 23:16:59 UTC (rev 7289)
+++ index	2012-08-28 04:48:03 UTC (rev 7290)
@@ -246,7 +246,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 27 August 2012</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 28 August 2012</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -16946,7 +16946,10 @@
      <dt id=script-processing-style-delayed>If the element does not
      have a <code title=attr-script-src><a href=#attr-script-src>src</a></code> attribute, and
      the element has been flagged as <a href=#parser-inserted>"parser-inserted"</a>,
-     and the <code><a href=#document>Document</a></code> of the <a href=#html-parser>HTML parser</a> or
+     and either the parser that created the <code><a href=#the-script-element>script</a></code> is an
+     <a href=#xml-parser>XML parser</a> or it's an <a href=#html-parser>HTML parser</a> whose
+     <a href=#script-nesting-level>script nesting level</a> is zero, and the
+     <code><a href=#document>Document</a></code> of the <a href=#html-parser>HTML parser</a> or
      <a href=#xml-parser>XML parser</a> that created the <code><a href=#the-script-element>script</a></code>
      element <a href=#has-a-style-sheet-that-is-blocking-scripts>has a style sheet that is blocking
      scripts</a></dt>

Modified: source
===================================================================
--- source	2012-08-27 23:16:59 UTC (rev 7289)
+++ source	2012-08-28 04:48:03 UTC (rev 7290)
@@ -18137,7 +18137,10 @@
      <dt id="script-processing-style-delayed">If the element does not
      have a <code title="attr-script-src">src</code> attribute, and
      the element has been flagged as <span>"parser-inserted"</span>,
-     and the <code>Document</code> of the <span>HTML parser</span> or
+     and either the parser that created the <code>script</code> is an
+     <span>XML parser</span> or it's an <span>HTML parser</span> whose
+     <span>script nesting level</span> is zero, and the
+     <code>Document</code> of the <span>HTML parser</span> or
      <span>XML parser</span> that created the <code>script</code>
      element <span>has a style sheet that is blocking
      scripts</span></dt>




More information about the Commit-Watchers mailing list