[html5] r5716 - [giow] (2) Don't spin the event loop before each script in the parser, only do i [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Dec 8 14:14:17 PST 2010


Author: ianh
Date: 2010-12-08 14:14:16 -0800 (Wed, 08 Dec 2010)
New Revision: 5716

Modified:
   complete.html
   index
   source
Log:
[giow] (2) Don't spin the event loop before each script in the parser, only do it if necessary.

Modified: complete.html
===================================================================
--- complete.html	2010-12-08 22:04:19 UTC (rev 5715)
+++ complete.html	2010-12-08 22:14:16 UTC (rev 5716)
@@ -81358,7 +81358,10 @@
        for this instance of the <a href=#html-parser>HTML parser</a>, such that
        the <a href=#event-loop>event loop</a> will not run <a href=#concept-task title=concept-task>tasks</a> that invoke the <a href=#tokenization title=tokenization>tokenizer</a>.</li>
 
-       <li><p><a href=#spin-the-event-loop>Spin the event loop</a> until the parser's
+       <li><p>If the parser's <code><a href=#document>Document</a></code> <a href=#has-a-style-sheet-that-is-blocking-scripts>has a style
+       sheet that is blocking scripts</a> or <var title="">the
+       script</var>'s <a href=#ready-to-be-parser-executed>"ready to be parser-executed"</a> flag
+       is not set: <a href=#spin-the-event-loop>spin the event loop</a> until the parser's
        <code><a href=#document>Document</a></code> <a href=#has-no-style-sheet-that-is-blocking-scripts>has no style sheet that is blocking
        scripts</a> and <var title="">the script</var>'s
        <a href=#ready-to-be-parser-executed>"ready to be parser-executed"</a> flag is

Modified: index
===================================================================
--- index	2010-12-08 22:04:19 UTC (rev 5715)
+++ index	2010-12-08 22:14:16 UTC (rev 5716)
@@ -77262,7 +77262,10 @@
        for this instance of the <a href=#html-parser>HTML parser</a>, such that
        the <a href=#event-loop>event loop</a> will not run <a href=#concept-task title=concept-task>tasks</a> that invoke the <a href=#tokenization title=tokenization>tokenizer</a>.</li>
 
-       <li><p><a href=#spin-the-event-loop>Spin the event loop</a> until the parser's
+       <li><p>If the parser's <code><a href=#document>Document</a></code> <a href=#has-a-style-sheet-that-is-blocking-scripts>has a style
+       sheet that is blocking scripts</a> or <var title="">the
+       script</var>'s <a href=#ready-to-be-parser-executed>"ready to be parser-executed"</a> flag
+       is not set: <a href=#spin-the-event-loop>spin the event loop</a> until the parser's
        <code><a href=#document>Document</a></code> <a href=#has-no-style-sheet-that-is-blocking-scripts>has no style sheet that is blocking
        scripts</a> and <var title="">the script</var>'s
        <a href=#ready-to-be-parser-executed>"ready to be parser-executed"</a> flag is

Modified: source
===================================================================
--- source	2010-12-08 22:04:19 UTC (rev 5715)
+++ source	2010-12-08 22:14:16 UTC (rev 5716)
@@ -93288,7 +93288,10 @@
        title="concept-task">tasks</span> that invoke the <span
        title="tokenization">tokenizer</span>.</p></li>
 
-       <li><p><span>Spin the event loop</span> until the parser's
+       <li><p>If the parser's <code>Document</code> <span>has a style
+       sheet that is blocking scripts</span> or <var title="">the
+       script</var>'s <span>"ready to be parser-executed"</span> flag
+       is not set: <span>spin the event loop</span> until the parser's
        <code>Document</code> <span>has no style sheet that is blocking
        scripts</span> and <var title="">the script</var>'s
        <span>"ready to be parser-executed"</span> flag is




More information about the Commit-Watchers mailing list