Skip to content
Browse files

[giow] (3) Change how <script> is handled in re-entrant parser situat…

…ions when there's a blocking style sheet.

Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@7290 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent 1fe8eaa commit cdf77625dd46ce5c83a328f828cacc3a891bc516 @Hixie Hixie committed
Showing with 14 additions and 5 deletions.
  1. +5 −2 complete.html
  2. +5 −2 index
  3. +4 −1 source
View
7 complete.html
@@ -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 &mdash; Last Updated 27 August 2012</h2>
+ <h2 class="no-num no-toc">Living Standard &mdash; 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 @@ <h4 id=the-script-element><span class=secno>4.3.1 </span>The <dfn id=script><cod
<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>
View
7 index
@@ -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 &mdash; Last Updated 27 August 2012</h2>
+ <h2 class="no-num no-toc">Living Standard &mdash; 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 @@ c-end = "--&gt;"</pre>
<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>
View
5 source
@@ -18137,7 +18137,10 @@ c-end = "-->"</pre>
<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>

0 comments on commit cdf7762

Please sign in to comment.
Something went wrong with that request. Please try again.