[html5] r4851 - [e] (0) Link to other places that mention scripting.

whatwg at whatwg.org whatwg at whatwg.org
Tue Mar 16 15:58:55 PDT 2010


Author: ianh
Date: 2010-03-16 15:58:54 -0700 (Tue, 16 Mar 2010)
New Revision: 4851

Modified:
   complete.html
   index
   source
Log:
[e] (0) Link to other places that mention scripting.

Modified: complete.html
===================================================================
--- complete.html	2010-03-16 22:29:36 UTC (rev 4850)
+++ complete.html	2010-03-16 22:58:54 UTC (rev 4851)
@@ -12652,9 +12652,18 @@
   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>
+  parsing the page.</p>
 
+  <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>
+
   <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
@@ -78043,7 +78052,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>
@@ -79020,7 +79029,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
@@ -82562,15 +82571,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>

Modified: index
===================================================================
--- index	2010-03-16 22:29:36 UTC (rev 4850)
+++ index	2010-03-16 22:58:54 UTC (rev 4851)
@@ -12551,9 +12551,18 @@
   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>
+  parsing the page.</p>
 
+  <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>
+
   <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
@@ -71449,7 +71458,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>
@@ -72426,7 +72435,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
@@ -75968,15 +75977,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>

Modified: source
===================================================================
--- source	2010-03-16 22:29:36 UTC (rev 4850)
+++ source	2010-03-16 22:58:54 UTC (rev 4851)
@@ -13256,9 +13256,21 @@
   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>
+  parsing the page.</p>
 
+  <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>script</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">document.write()</code> method, the
+  handling of <a href="#scripting">scripting</a>, etc.</p>
+
   <p>The <code title="attr-script-defer">defer</code> attribute may be
   specified even if the <code title="attr-script-async">async</code>
   attribute is specified, to cause legacy Web browsers that only
@@ -89060,7 +89072,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 <span>current node</span>
@@ -90132,7 +90144,7 @@
     <p><span>Parse error</span>. Ignore the token.</p>
    </dd>
 
-   <dt>An end tag whose tag name is "script", if the <span>current node</span> is a <code title="">script</code> element in the <span>SVG namespace</span>.</dt>
+   <dt id="scriptForeignEndTag">An end tag whose tag name is "script", if the <span>current node</span> is a <code title="">script</code> element in the <span>SVG namespace</span>.</dt>
    <dd>
 
     <p>Pop the <span>current node</span> off the <span>stack of open
@@ -91733,15 +91745,15 @@
   an interoperable fashion without requiring any network access for
   handling external subsets. <a href="#refsXML">[XML]</a></p>
 
-  <p>When an <span>XML parser</span> creates a <code>script</code>
-  element, it must be marked as being <span>"parser-inserted"</span>.
-  If the parser was originally created for the <span>XML fragment
-  parsing algorithm</span>, then the element must be marked as
-  <span>"already started"</span> also. When the element's end tag is
-  parsed, the user agent must <span title="running a
-  script">run</span> the <code>script</code> element. If this causes
-  there to be a <span>pending parsing-blocking script</span>, then the
-  user agent must run the following steps:</p>
+  <p id="scriptTagXML">When an <span>XML parser</span> creates a
+  <code>script</code> element, it must be marked as being
+  <span>"parser-inserted"</span>.  If the parser was originally
+  created for the <span>XML fragment parsing algorithm</span>, then
+  the element must be marked as <span>"already started"</span>
+  also. When the element's end tag is parsed, the user agent must
+  <span title="running a script">run</span> the <code>script</code>
+  element. If this causes there to be a <span>pending parsing-blocking
+  script</span>, then the user agent must run the following steps:</p>
 
   <ol>
 




More information about the Commit-Watchers mailing list