[html5] r3347 - [cgt] (2) Define how to tell if the parser is being called re-entrantly more pre [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Jun 30 21:08:33 PDT 2009


Author: ianh
Date: 2009-06-30 21:08:31 -0700 (Tue, 30 Jun 2009)
New Revision: 3347

Modified:
   index
   source
Log:
[cgt] (2) Define how to tell if the parser is being called re-entrantly more precisely.

Modified: index
===================================================================
--- index	2009-07-01 03:55:00 UTC (rev 3346)
+++ index	2009-07-01 04:08:31 UTC (rev 3347)
@@ -63535,16 +63535,22 @@
     <p id=scriptTagParserResumes>At this stage, if there is a
     <a href=#pending-external-script>pending external script</a>, then:</p>
 
-    <dl class=switch><dt>If the tree construction stage is <a href=#nestedParsing>being called reentrantly</a>, say from a
-     call to <code title=dom-document-write><a href=#dom-document-write>document.write()</a></code>:</dt>
+    <dl class=switch><dt>If the <a href=#script-nesting-level>script nesting level</a> is not zero:</dt>
 
-     <dd><p>Set the <a href=#parser-pause-flag>parser pause flag</a> to true, and abort
-     the processing of any nested invocations of the tokenizer,
-     yielding control back to the caller. (Tokenization will resume
-     when the caller returns to the "outer" tree construction
-     stage.)</dd>
+     <dd>
 
+      <p>Set the <a href=#parser-pause-flag>parser pause flag</a> to true, and abort the
+      processing of any nested invocations of the tokenizer, yielding
+      control back to the caller. (Tokenization will resume when the
+      caller returns to the "outer" tree construction stage.)</p>
 
+      <p class=note>The tree construction stage of this particular
+      parser is <a href=#nestedParsing>being called reentrantly</a>,
+      say from a call to <code title=dom-document-write><a href=#dom-document-write>document.write()</a></code>.</p>
+
+     </dd>
+
+
      <dt>Otherwise:</dt>
 
      <dd>

Modified: source
===================================================================
--- source	2009-07-01 03:55:00 UTC (rev 3346)
+++ source	2009-07-01 04:08:31 UTC (rev 3347)
@@ -77674,18 +77674,23 @@
 
     <dl class="switch">
 
-     <dt>If the tree construction stage is <a
-     href="#nestedParsing">being called reentrantly</a>, say from a
-     call to <code
-     title="dom-document-write">document.write()</code>:</dt>
+     <dt>If the <span>script nesting level</span> is not zero:</dt>
 
-     <dd><p>Set the <span>parser pause flag</span> to true, and abort
-     the processing of any nested invocations of the tokenizer,
-     yielding control back to the caller. (Tokenization will resume
-     when the caller returns to the "outer" tree construction
-     stage.)</p></dd>
+     <dd>
 
+      <p>Set the <span>parser pause flag</span> to true, and abort the
+      processing of any nested invocations of the tokenizer, yielding
+      control back to the caller. (Tokenization will resume when the
+      caller returns to the "outer" tree construction stage.)</p>
 
+      <p class="note">The tree construction stage of this particular
+      parser is <a href="#nestedParsing">being called reentrantly</a>,
+      say from a call to <code
+      title="dom-document-write">document.write()</code>.</p>
+
+     </dd>
+
+
      <dt>Otherwise:</dt>
 
      <dd>




More information about the Commit-Watchers mailing list