Skip to content

Commit

Permalink
[giow] (3) Change how <script> is handled in re-entrant parser situat…
Browse files Browse the repository at this point in the history
…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
Hixie committed Aug 28, 2012
1 parent 1fe8eaa commit cdf7762
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
7 changes: 5 additions & 2 deletions complete.html
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down
7 changes: 5 additions & 2 deletions index
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down
5 changes: 4 additions & 1 deletion source
Expand Up @@ -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>
Expand Down

0 comments on commit cdf7762

Please sign in to comment.