Define how to tell if the parser is being called re-entrantly more precisely. (whatwg r3347)

Define how to tell if the parser is being called re-entrantly more
precisely. (whatwg r3347)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2485&r2=1.2486&f=h
http://html5.org/tools/web-apps-tracker?from=3346&to=3347

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2485
retrieving revision 1.2486
diff -u -d -r1.2485 -r1.2486
--- Overview.html 1 Jul 2009 03:55:07 -0000 1.2485
+++ Overview.html 1 Jul 2009 04:08:43 -0000 1.2486
@@ -57376,14 +57376,20 @@
     <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>

Received on Wednesday, 1 July 2009 04:09:37 UTC