NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 614 - Define how to tell if the parser is being called re-entrantly more precisely.
Define how to tell if the parser is being called re-entrantly more precisely.
Status: NEW
Product: Validator.nu
Classification: Unclassified
Component: General
HEAD
All All
: P2 normal
Assigned To: Nobody
http://svn.whatwg.org/webapps/source?...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-14 15:04 CEST by Henri Sivonen
Modified: 2009-11-23 17:17 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henri Sivonen 2009-07-14 15:04:02 CEST
Index: source
===================================================================
--- source	(revision 3346)
+++ source	(revision 3347)
@@ -77674,16 +77674,21 @@
 
     <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>
-
-     <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>
+     <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>
+
+      <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>