W3C home > Mailing lists > Public > public-html-diffs@w3.org > March 2010

hixie: Link to other places that mention scripting. (whatwg r4851)

From: poot <cvsmail@w3.org>
Date: Wed, 17 Mar 2010 07:59:14 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20100316225915.26B332BC4D@toro.w3.mag.keio.ac.jp>
hixie: Link to other places that mention scripting. (whatwg r4851)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3886&r2=1.3887&f=h
http://html5.org/tools/web-apps-tracker?from=4850&to=4851

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3886
retrieving revision 1.3887
diff -u -d -r1.3886 -r1.3887
--- Overview.html	16 Mar 2010 22:29:42 -0000	1.3886
+++ Overview.html	16 Mar 2010 22:59:00 -0000	1.3887
@@ -10845,8 +10845,15 @@
   present, then the script is executed when the page has finished
   parsing. If neither attribute is present, then the script is
   fetched and executed immediately, before the user agent continues
-  parsing the page. The exact processing details for these attributes
-  are described below.<p>The <code title="attr-script-defer"><a href="#attr-script-defer">defer</a></code> attribute may be
+  parsing the page.<p class="note">The exact processing details for these attributes
+  are, for mostly historical reasons, somewhat non-trivial, involving
+  a number of aspects of HTML. The implementation requirements are
+  therefore by necessity scattered throughout the specification. The
+  algorithms below (in this section) describe the core of this
+  processing, but these algorithms reference and are referenced by the
+  parsing rules for <code><a href="#script">script</a></code> <a href="#scriptTag">start</a>
+  and <a href="#scriptEndTag">end</a> tags in HTML, <a href="#scriptForeignEndTag">in foreign content</a>, and <a href="#scriptTagXML">in XML</a>, the rules for the <code title="dom-document-write"><a href="#dom-document-write">document.write()</a></code> method, the
+  handling of <a href="#scripting">scripting</a>, etc.<p>The <code title="attr-script-defer"><a href="#attr-script-defer">defer</a></code> attribute may be
   specified even if the <code title="attr-script-async"><a href="#attr-script-async">async</a></code>
   attribute is specified, to cause legacy Web browsers that only
   support <code title="attr-script-defer"><a href="#attr-script-defer">defer</a></code> (and not <code title="attr-script-async"><a href="#attr-script-async">async</a></code>) to fall back to the <code title="attr-script-defer"><a href="#attr-script-defer">defer</a></code> behavior instead of the
@@ -56585,7 +56592,7 @@
 
    </dd>
 
-   <dt>An end tag whose tag name is "script"</dt>
+   <dt id="scriptEndTag">An end tag whose tag name is "script"</dt>
    <dd>
 
     <p>Let <var title="">script</var> be the <a href="#current-node">current node</a>
@@ -57562,7 +57569,7 @@
     <p><a href="#parse-error">Parse error</a>. Ignore the token.</p>
    </dd>
 
-   <dt>An end tag whose tag name is "script", if the <a href="#current-node">current node</a> is a <code title="">script</code> element in the <a href="#svg-namespace">SVG namespace</a>.</dt>
+   <dt id="scriptForeignEndTag">An end tag whose tag name is "script", if the <a href="#current-node">current node</a> is a <code title="">script</code> element in the <a href="#svg-namespace">SVG namespace</a>.</dt>
    <dd>
 
     <p>Pop the <a href="#current-node">current node</a> off the <a href="#stack-of-open-elements">stack of open
@@ -61067,15 +61074,15 @@
   an interoperable fashion without requiring any network access for
   handling external subsets. <a href="#refsXML">[XML]</a></p>
 
-  <p>When an <a href="#xml-parser">XML parser</a> creates a <code><a href="#script">script</a></code>
-  element, it must be marked as being <a href="#parser-inserted">"parser-inserted"</a>.
-  If the parser was originally created for the <a href="#xml-fragment-parsing-algorithm">XML fragment
-  parsing algorithm</a>, then the element must be marked as
-  <a href="#already-started">"already started"</a> also. When the element's end tag is
-  parsed, the user agent must <a href="#running-a-script" title="running a
-  script">run</a> the <code><a href="#script">script</a></code> element. If this causes
-  there to be a <a href="#pending-parsing-blocking-script">pending parsing-blocking script</a>, then the
-  user agent must run the following steps:</p>
+  <p id="scriptTagXML">When an <a href="#xml-parser">XML parser</a> creates a
+  <code><a href="#script">script</a></code> element, it must be marked as being
+  <a href="#parser-inserted">"parser-inserted"</a>.  If the parser was originally
+  created for the <a href="#xml-fragment-parsing-algorithm">XML fragment parsing algorithm</a>, then
+  the element must be marked as <a href="#already-started">"already started"</a>
+  also. When the element's end tag is parsed, the user agent must
+  <a href="#running-a-script" title="running a script">run</a> the <code><a href="#script">script</a></code>
+  element. If this causes there to be a <a href="#pending-parsing-blocking-script">pending parsing-blocking
+  script</a>, then the user agent must run the following steps:</p>
 
   <ol><li><p>Block this instance of the <a href="#xml-parser">XML parser</a>, such
    that the <a href="#event-loop">event loop</a> will not run <a href="#concept-task" title="concept-task">tasks</a> that invoke it.</li>
Received on Tuesday, 16 March 2010 22:59:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:14:18 GMT