[html5] r7557 - [giow] (3) Try to define the order of script execution for when lots of nodes ar [...]
whatwg at whatwg.org
whatwg at whatwg.org
Sat Dec 1 14:30:59 PST 2012
Author: ianh
Date: 2012-12-01 14:30:58 -0800 (Sat, 01 Dec 2012)
New Revision: 7557
Modified:
complete.html
index
source
Log:
[giow] (3) Try to define the order of script execution for when lots of nodes are inserted at once.
Affected topics: DOM APIs, HTML
Modified: complete.html
===================================================================
--- complete.html 2012-12-01 21:58:50 UTC (rev 7556)
+++ complete.html 2012-12-01 22:30:58 UTC (rev 7557)
@@ -4075,6 +4075,7 @@
<li><dfn id=textcontent><code>textContent</code></dfn> attribute</li>
<li>The <dfn id=concept-node-insert title=concept-node-insert>insert</dfn>, <dfn id=concept-node-append title=concept-node-append>append</dfn>, and <dfn id=concept-node-replace title=concept-node-replace>replace</dfn> algorithms for nodes</li>
+ <li>The <dfn id=nodes-are-inserted>nodes are inserted</dfn> and <dfn id=nodes-are-removed>nodes are removed</dfn> concepts</li>
<li><dfn id=event><code>Event</code></dfn> interface</li>
<li><dfn id=eventtarget><code>EventTarget</code></dfn> interface</li>
@@ -16197,13 +16198,15 @@
in the following list, the user agent must synchronously <a href=#prepare-a-script title="prepare a script">prepare</a> the <code><a href=#the-script-element>script</a></code>
element:</p>
- <ul><li>The <code><a href=#the-script-element>script</a></code> element gets <a href=#insert-an-element-into-a-document title="insert an
- element into a document">inserted into a document</a>.</li>
+ <ul><li>The <code><a href=#the-script-element>script</a></code> element gets <a href=#insert-an-element-into-a-document title="insert an element into a document">inserted
+ into a document</a>, at the time the <a href=#nodes-are-inserted title="nodes are inserted">node is inserted</a>
+ according to the DOM, after any other <code><a href=#the-script-element>script</a></code> elements inserted at the same time that
+ are earlier in the <code><a href=#document>Document</a></code> in <a href=#tree-order>tree order</a>.</li>
- <li>The <code><a href=#the-script-element>script</a></code> element is <a href=#in-a-document>in a
- <code>Document</code></a> and a node or document fragment is
- <a href=#concept-node-insert title=concept-node-insert>inserted</a> into the
- <code><a href=#the-script-element>script</a></code> element.</li>
+ <li>The <code><a href=#the-script-element>script</a></code> element is <a href=#in-a-document>in a <code>Document</code></a> and a node or
+ document fragment is <a href=#nodes-are-inserted title="nodes are inserted">inserted</a> into the
+ <code><a href=#the-script-element>script</a></code> element, after any <code><a href=#the-script-element>script</a></code> elements <a href=#nodes-are-inserted title="nodes are
+ inserted">inserted</a> at that time.</li>
<li>The <code><a href=#the-script-element>script</a></code> element is <a href=#in-a-document>in a
<code>Document</code></a> and has a <code title=attr-script-src><a href=#attr-script-src>src</a></code> attribute set where previously
Modified: index
===================================================================
--- index 2012-12-01 21:58:50 UTC (rev 7556)
+++ index 2012-12-01 22:30:58 UTC (rev 7557)
@@ -4075,6 +4075,7 @@
<li><dfn id=textcontent><code>textContent</code></dfn> attribute</li>
<li>The <dfn id=concept-node-insert title=concept-node-insert>insert</dfn>, <dfn id=concept-node-append title=concept-node-append>append</dfn>, and <dfn id=concept-node-replace title=concept-node-replace>replace</dfn> algorithms for nodes</li>
+ <li>The <dfn id=nodes-are-inserted>nodes are inserted</dfn> and <dfn id=nodes-are-removed>nodes are removed</dfn> concepts</li>
<li><dfn id=event><code>Event</code></dfn> interface</li>
<li><dfn id=eventtarget><code>EventTarget</code></dfn> interface</li>
@@ -16197,13 +16198,15 @@
in the following list, the user agent must synchronously <a href=#prepare-a-script title="prepare a script">prepare</a> the <code><a href=#the-script-element>script</a></code>
element:</p>
- <ul><li>The <code><a href=#the-script-element>script</a></code> element gets <a href=#insert-an-element-into-a-document title="insert an
- element into a document">inserted into a document</a>.</li>
+ <ul><li>The <code><a href=#the-script-element>script</a></code> element gets <a href=#insert-an-element-into-a-document title="insert an element into a document">inserted
+ into a document</a>, at the time the <a href=#nodes-are-inserted title="nodes are inserted">node is inserted</a>
+ according to the DOM, after any other <code><a href=#the-script-element>script</a></code> elements inserted at the same time that
+ are earlier in the <code><a href=#document>Document</a></code> in <a href=#tree-order>tree order</a>.</li>
- <li>The <code><a href=#the-script-element>script</a></code> element is <a href=#in-a-document>in a
- <code>Document</code></a> and a node or document fragment is
- <a href=#concept-node-insert title=concept-node-insert>inserted</a> into the
- <code><a href=#the-script-element>script</a></code> element.</li>
+ <li>The <code><a href=#the-script-element>script</a></code> element is <a href=#in-a-document>in a <code>Document</code></a> and a node or
+ document fragment is <a href=#nodes-are-inserted title="nodes are inserted">inserted</a> into the
+ <code><a href=#the-script-element>script</a></code> element, after any <code><a href=#the-script-element>script</a></code> elements <a href=#nodes-are-inserted title="nodes are
+ inserted">inserted</a> at that time.</li>
<li>The <code><a href=#the-script-element>script</a></code> element is <a href=#in-a-document>in a
<code>Document</code></a> and has a <code title=attr-script-src><a href=#attr-script-src>src</a></code> attribute set where previously
Modified: source
===================================================================
--- source 2012-12-01 21:58:50 UTC (rev 7556)
+++ source 2012-12-01 22:30:58 UTC (rev 7557)
@@ -2961,6 +2961,7 @@
<li><dfn><code>textContent</code></dfn> attribute</li>
<li>The <dfn title="concept-node-insert">insert</dfn>, <dfn title="concept-node-append">append</dfn>, and <dfn title="concept-node-replace">replace</dfn> algorithms for nodes</li>
+ <li>The <dfn>nodes are inserted</dfn> and <dfn>nodes are removed</dfn> concepts</li>
<li><dfn><code>Event</code></dfn> interface</li>
<li><dfn><code>EventTarget</code></dfn> interface</li>
@@ -17056,13 +17057,15 @@
<ul>
- <li>The <code>script</code> element gets <span title="insert an
- element into a document">inserted into a document</span>.</li>
+ <li>The <code>script</code> element gets <span title="insert an element into a document">inserted
+ into a document</span>, at the time the <span title="nodes are inserted">node is inserted</span>
+ according to the DOM, after any other <code>script</code> elements inserted at the same time that
+ are earlier in the <code>Document</code> in <span>tree order</span>.</li>
- <li>The <code>script</code> element is <span>in a
- <code>Document</code></span> and a node or document fragment is
- <span title="concept-node-insert">inserted</span> into the
- <code>script</code> element.</li>
+ <li>The <code>script</code> element is <span>in a <code>Document</code></span> and a node or
+ document fragment is <span title="nodes are inserted">inserted</span> into the
+ <code>script</code> element, after any <code>script</code> elements <span title="nodes are
+ inserted">inserted</span> at that time.</li>
<li>The <code>script</code> element is <span>in a
<code>Document</code></span> and has a <code
More information about the Commit-Watchers
mailing list