[html5] r4555 - [e] (0) Try to clean up the rules about when <script> attributes affect script e [...]

whatwg at whatwg.org whatwg at whatwg.org
Sun Jan 10 02:50:02 PST 2010


Author: ianh
Date: 2010-01-10 02:49:59 -0800 (Sun, 10 Jan 2010)
New Revision: 4555

Modified:
   complete.html
   index
   source
Log:
[e] (0) Try to clean up the rules about when <script> attributes affect script execution.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8473

Modified: complete.html
===================================================================
--- complete.html	2010-01-10 07:18:34 UTC (rev 4554)
+++ complete.html	2010-01-10 10:49:59 UTC (rev 4555)
@@ -12322,10 +12322,8 @@
 
   <p>Changing the <code title=attr-script-src><a href=#attr-script-src>src</a></code>, <code title=attr-script-type><a href=#attr-script-type>type</a></code>, <code title=attr-script-charset><a href=#attr-script-charset>charset</a></code>, <code title=attr-script-async><a href=#attr-script-async>async</a></code>, and <code title=attr-script-defer><a href=#attr-script-defer>defer</a></code> attributes dynamically has no
   direct effect; these attribute are only used <span class=impl>at
-  specific times described below (namely,</span> when the element is
-  <a href=#insert-an-element-into-a-document title="insert an element into a document">inserted into the
-  document</a><span class=impl>)</span>.</p> <!-- by implication,
-  changes to the base URL also have no effect -->
+  specific times described below.</span></p> <!-- by implication, changes to
+  the base URL also have no effect -->
 
   <div class=impl>
 
@@ -12468,8 +12466,8 @@
     <p>For historical reasons, if the <a href=#url>URL</a> is a <a href=#javascript-protocol title="javascript protocol"><code title="">javascript:</code>
     URL</a>, then the user agent must not, despite the requirements
     in the definition of the <a href=#fetch title=fetch>fetching</a>
-    algorithm, actually execute the given script; instead the user
-    agent must act as if it had received an empty HTTP 400
+    algorithm, actually execute the script in the URL; instead the
+    user agent must act as if it had received an empty HTTP 400
     response.</p>
 
     <p>Once the resource's <a href=#content-type title=Content-Type>Content Type
@@ -12670,8 +12668,8 @@
        <dd>
 
         <p>The value of the <code title=dom-script-text><a href=#dom-script-text>text</a></code>
-        IDL attribute at the time the "<a href=#running-a-script>running a script</a>"
-        algorithm was first invoked is the script source.</p>
+        IDL attribute at the time the element's <a href=#already-started>"already
+        started"</a> flag was set is the script source.</p>
 
        </dd>
 
@@ -12680,8 +12678,8 @@
        <dd>
 
         <p>The child nodes of the <code><a href=#script>script</a></code> element at the
-        time the "<a href=#running-a-script>running a script</a>" algorithm was first
-        invoked are the script source.</p>
+        time the element's <a href=#already-started>"already started"</a> flag was set
+        are the script source.</p>
 
        </dd>
 

Modified: index
===================================================================
--- index	2010-01-10 07:18:34 UTC (rev 4554)
+++ index	2010-01-10 10:49:59 UTC (rev 4555)
@@ -12187,10 +12187,8 @@
 
   <p>Changing the <code title=attr-script-src><a href=#attr-script-src>src</a></code>, <code title=attr-script-type><a href=#attr-script-type>type</a></code>, <code title=attr-script-charset><a href=#attr-script-charset>charset</a></code>, <code title=attr-script-async><a href=#attr-script-async>async</a></code>, and <code title=attr-script-defer><a href=#attr-script-defer>defer</a></code> attributes dynamically has no
   direct effect; these attribute are only used <span class=impl>at
-  specific times described below (namely,</span> when the element is
-  <a href=#insert-an-element-into-a-document title="insert an element into a document">inserted into the
-  document</a><span class=impl>)</span>.</p> <!-- by implication,
-  changes to the base URL also have no effect -->
+  specific times described below.</span></p> <!-- by implication, changes to
+  the base URL also have no effect -->
 
   <div class=impl>
 
@@ -12333,8 +12331,8 @@
     <p>For historical reasons, if the <a href=#url>URL</a> is a <a href=#javascript-protocol title="javascript protocol"><code title="">javascript:</code>
     URL</a>, then the user agent must not, despite the requirements
     in the definition of the <a href=#fetch title=fetch>fetching</a>
-    algorithm, actually execute the given script; instead the user
-    agent must act as if it had received an empty HTTP 400
+    algorithm, actually execute the script in the URL; instead the
+    user agent must act as if it had received an empty HTTP 400
     response.</p>
 
     <p>Once the resource's <a href=#content-type title=Content-Type>Content Type
@@ -12535,8 +12533,8 @@
        <dd>
 
         <p>The value of the <code title=dom-script-text><a href=#dom-script-text>text</a></code>
-        IDL attribute at the time the "<a href=#running-a-script>running a script</a>"
-        algorithm was first invoked is the script source.</p>
+        IDL attribute at the time the element's <a href=#already-started>"already
+        started"</a> flag was set is the script source.</p>
 
        </dd>
 
@@ -12545,8 +12543,8 @@
        <dd>
 
         <p>The child nodes of the <code><a href=#script>script</a></code> element at the
-        time the "<a href=#running-a-script>running a script</a>" algorithm was first
-        invoked are the script source.</p>
+        time the element's <a href=#already-started>"already started"</a> flag was set
+        are the script source.</p>
 
        </dd>
 

Modified: source
===================================================================
--- source	2010-01-10 07:18:34 UTC (rev 4554)
+++ source	2010-01-10 10:49:59 UTC (rev 4555)
@@ -12890,10 +12890,8 @@
   title="attr-script-async">async</code>, and <code
   title="attr-script-defer">defer</code> attributes dynamically has no
   direct effect; these attribute are only used <span class="impl">at
-  specific times described below (namely,</span> when the element is
-  <span title="insert an element into a document">inserted into the
-  document</span><span class="impl">)</span>.</p> <!-- by implication,
-  changes to the base URL also have no effect -->
+  specific times described below.</p> <!-- by implication, changes to
+  the base URL also have no effect -->
 
   <div class="impl">
 
@@ -13068,8 +13066,8 @@
     title="javascript protocol"><code title="">javascript:</code>
     URL</span>, then the user agent must not, despite the requirements
     in the definition of the <span title="fetch">fetching</span>
-    algorithm, actually execute the given script; instead the user
-    agent must act as if it had received an empty HTTP 400
+    algorithm, actually execute the script in the URL; instead the
+    user agent must act as if it had received an empty HTTP 400
     response.</p>
 
     <p>Once the resource's <span title="Content-Type">Content Type
@@ -13299,8 +13297,8 @@
        <dd>
 
         <p>The value of the <code title="dom-script-text">text</code>
-        IDL attribute at the time the "<span>running a script</span>"
-        algorithm was first invoked is the script source.</p>
+        IDL attribute at the time the element's <span>"already
+        started"</span> flag was set is the script source.</p>
 
        </dd>
 
@@ -13309,8 +13307,8 @@
        <dd>
 
         <p>The child nodes of the <code>script</code> element at the
-        time the "<span>running a script</span>" algorithm was first
-        invoked are the script source.</p>
+        time the element's <span>"already started"</span> flag was set
+        are the script source.</p>
 
        </dd>
 




More information about the Commit-Watchers mailing list