[html5] r5502 - [giow] (2) clarify who owns what when scripts are moved between documents Fixing [...]

whatwg at whatwg.org whatwg at whatwg.org
Sat Sep 25 14:34:41 PDT 2010


Author: ianh
Date: 2010-09-25 14:34:39 -0700 (Sat, 25 Sep 2010)
New Revision: 5502

Modified:
   complete.html
   index
   source
Log:
[giow] (2) clarify who owns what when scripts are moved between documents
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10539

Modified: complete.html
===================================================================
--- complete.html	2010-09-25 20:45:41 UTC (rev 5501)
+++ complete.html	2010-09-25 21:34:39 UTC (rev 5502)
@@ -14459,7 +14459,8 @@
 
       <p>The element must be added to the end of the <dfn id=list-of-scripts-that-will-execute-when-the-document-has-finished-parsing>list of
       scripts that will execute when the document has finished
-      parsing</dfn>.</p>
+      parsing</dfn> associated with the <code><a href=#document>Document</a></code> of the
+      parser that created the element.</p>
 
       <p>The <a href=#concept-task title=concept-task>task</a> that the
       <a href=#networking-task-source>networking task source</a> places on the <a href=#task-queue>task
@@ -14479,8 +14480,9 @@
      <dd>
 
       <p>The element is the <a href=#pending-parsing-blocking-script>pending parsing-blocking
-      script</a>. (There can only be one such script at a
-      time.)</p>
+      script</a> of the <code><a href=#document>Document</a></code> of the parser that
+      created the element. (There can only be one such script per
+      <code><a href=#document>Document</a></code> at a time.)</p>
 
       <p>The <a href=#concept-task title=concept-task>task</a> that the
       <a href=#networking-task-source>networking task source</a> places on the <a href=#task-queue>task
@@ -14500,8 +14502,9 @@
      <dd>
 
       <p>The element is the <a href=#pending-parsing-blocking-script>pending parsing-blocking
-      script</a>. (There can only be one such script at a
-      time.)</p>
+      script</a> of the <code><a href=#document>Document</a></code> of the parser that
+      created the element. (There can only be one such script per
+      <code><a href=#document>Document</a></code> at a time.)</p>
 
       <p>Set the element's <a href=#ready-to-be-parser-executed>"ready to be parser-executed"</a>
       flag. The parser will handle executing the script.</p>
@@ -14514,7 +14517,9 @@
      <dd>
 
       <p>The element must be added to the <dfn id=set-of-scripts-that-will-execute-as-soon-as-possible>set of scripts that
-      will execute as soon as possible</dfn>.</p>
+      will execute as soon as possible</dfn> of the
+      <code><a href=#document>Document</a></code> of the <code><a href=#script>script</a></code> element at the
+      time the <a href=#running-a-script>running a script</a> algorithm started.</p>
 
       <p>The <a href=#concept-task title=concept-task>task</a> that the
       <a href=#networking-task-source>networking task source</a> places on the <a href=#task-queue>task
@@ -14541,8 +14546,9 @@
   the resource has been <a href=#fetch title=fetch>fetched</a> (defined
   above) has been run.</p>
 
-  <p>The <dfn id=pending-parsing-blocking-script>pending parsing-blocking script</dfn> is used by the
-  parser.</p>
+  <p>The <dfn id=pending-parsing-blocking-script>pending parsing-blocking script</dfn> of a
+  <code><a href=#document>Document</a></code> is used by the <code><a href=#document>Document</a></code>'s
+  parser(s).</p>
 
   <p><dfn id=executing-a-script-block title="executing a script block">Executing a script
   block</dfn>: When the steps above require that the script block be

Modified: index
===================================================================
--- index	2010-09-25 20:45:41 UTC (rev 5501)
+++ index	2010-09-25 21:34:39 UTC (rev 5502)
@@ -14436,7 +14436,8 @@
 
       <p>The element must be added to the end of the <dfn id=list-of-scripts-that-will-execute-when-the-document-has-finished-parsing>list of
       scripts that will execute when the document has finished
-      parsing</dfn>.</p>
+      parsing</dfn> associated with the <code><a href=#document>Document</a></code> of the
+      parser that created the element.</p>
 
       <p>The <a href=#concept-task title=concept-task>task</a> that the
       <a href=#networking-task-source>networking task source</a> places on the <a href=#task-queue>task
@@ -14456,8 +14457,9 @@
      <dd>
 
       <p>The element is the <a href=#pending-parsing-blocking-script>pending parsing-blocking
-      script</a>. (There can only be one such script at a
-      time.)</p>
+      script</a> of the <code><a href=#document>Document</a></code> of the parser that
+      created the element. (There can only be one such script per
+      <code><a href=#document>Document</a></code> at a time.)</p>
 
       <p>The <a href=#concept-task title=concept-task>task</a> that the
       <a href=#networking-task-source>networking task source</a> places on the <a href=#task-queue>task
@@ -14477,8 +14479,9 @@
      <dd>
 
       <p>The element is the <a href=#pending-parsing-blocking-script>pending parsing-blocking
-      script</a>. (There can only be one such script at a
-      time.)</p>
+      script</a> of the <code><a href=#document>Document</a></code> of the parser that
+      created the element. (There can only be one such script per
+      <code><a href=#document>Document</a></code> at a time.)</p>
 
       <p>Set the element's <a href=#ready-to-be-parser-executed>"ready to be parser-executed"</a>
       flag. The parser will handle executing the script.</p>
@@ -14491,7 +14494,9 @@
      <dd>
 
       <p>The element must be added to the <dfn id=set-of-scripts-that-will-execute-as-soon-as-possible>set of scripts that
-      will execute as soon as possible</dfn>.</p>
+      will execute as soon as possible</dfn> of the
+      <code><a href=#document>Document</a></code> of the <code><a href=#script>script</a></code> element at the
+      time the <a href=#running-a-script>running a script</a> algorithm started.</p>
 
       <p>The <a href=#concept-task title=concept-task>task</a> that the
       <a href=#networking-task-source>networking task source</a> places on the <a href=#task-queue>task
@@ -14518,8 +14523,9 @@
   the resource has been <a href=#fetch title=fetch>fetched</a> (defined
   above) has been run.</p>
 
-  <p>The <dfn id=pending-parsing-blocking-script>pending parsing-blocking script</dfn> is used by the
-  parser.</p>
+  <p>The <dfn id=pending-parsing-blocking-script>pending parsing-blocking script</dfn> of a
+  <code><a href=#document>Document</a></code> is used by the <code><a href=#document>Document</a></code>'s
+  parser(s).</p>
 
   <p><dfn id=executing-a-script-block title="executing a script block">Executing a script
   block</dfn>: When the steps above require that the script block be

Modified: source
===================================================================
--- source	2010-09-25 20:45:41 UTC (rev 5501)
+++ source	2010-09-25 21:34:39 UTC (rev 5502)
@@ -15320,7 +15320,8 @@
 
       <p>The element must be added to the end of the <dfn>list of
       scripts that will execute when the document has finished
-      parsing</dfn>.</p>
+      parsing</dfn> associated with the <code>Document</code> of the
+      parser that created the element.</p>
 
       <p>The <span title="concept-task">task</span> that the
       <span>networking task source</span> places on the <span>task
@@ -15341,8 +15342,9 @@
      <dd>
 
       <p>The element is the <span>pending parsing-blocking
-      script</span>. (There can only be one such script at a
-      time.)</p>
+      script</span> of the <code>Document</code> of the parser that
+      created the element. (There can only be one such script per
+      <code>Document</code> at a time.)</p>
 
       <p>The <span title="concept-task">task</span> that the
       <span>networking task source</span> places on the <span>task
@@ -15362,8 +15364,9 @@
      <dd>
 
       <p>The element is the <span>pending parsing-blocking
-      script</span>. (There can only be one such script at a
-      time.)</p>
+      script</span> of the <code>Document</code> of the parser that
+      created the element. (There can only be one such script per
+      <code>Document</code> at a time.)</p>
 
       <p>Set the element's <span>"ready to be parser-executed"</span>
       flag. The parser will handle executing the script.</p>
@@ -15377,7 +15380,9 @@
      <dd>
 
       <p>The element must be added to the <dfn>set of scripts that
-      will execute as soon as possible</dfn>.</p>
+      will execute as soon as possible</dfn> of the
+      <code>Document</code> of the <code>script</code> element at the
+      time the <span>running a script</span> algorithm started.</p>
 
       <p>The <span title="concept-task">task</span> that the
       <span>networking task source</span> places on the <span>task
@@ -15410,8 +15415,9 @@
   the resource has been <span title="fetch">fetched</span> (defined
   above) has been run.</p>
 
-  <p>The <dfn>pending parsing-blocking script</dfn> is used by the
-  parser.</p>
+  <p>The <dfn>pending parsing-blocking script</dfn> of a
+  <code>Document</code> is used by the <code>Document</code>'s
+  parser(s).</p>
 
   <p><dfn title="executing a script block">Executing a script
   block</dfn>: When the steps above require that the script block be




More information about the Commit-Watchers mailing list