hixie: Try to clean up the rules about when <script> attributes affect script execution. (whatwg r4555)

hixie: Try to clean up the rules about when <script> attributes affect
script execution. (whatwg r4555)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3634&r2=1.3635&f=h
http://html5.org/tools/web-apps-tracker?from=4554&to=4555

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3634
retrieving revision 1.3635
diff -u -d -r1.3634 -r1.3635
--- Overview.html 10 Jan 2010 07:19:41 -0000 1.3634
+++ Overview.html 10 Jan 2010 10:50:08 -0000 1.3635
@@ -10573,10 +10573,8 @@
   <code title="attr-script-src"><a href="#attr-script-src">src</a></code> attribute must also be
   specified.<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 --><div class="impl">
+  specific times described below.</span></p><!-- by implication, changes to
+  the base URL also have no effect --><div class="impl">
 
   <p>A <code><a href="#script">script</a></code> element has several associated pieces of
   state.</p>
@@ -10717,8 +10715,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
@@ -10919,8 +10917,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>
 
@@ -10929,8 +10927,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>

Received on Sunday, 10 January 2010 10:50:52 UTC