Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[giow] (3) Try to define the order of script execution for when lots …

…of nodes are inserted at once.

Affected topics: DOM APIs, HTML

git-svn-id: http://svn.whatwg.org/webapps@7557 340c8d12-0b0e-0410-8428-c7bf67bfef74
(cherry picked from commit e05554f)
  • Loading branch information...
commit 6afe9c0f52fc4ffc27be7a6c724ec0dd36877c5c 1 parent dfeecac
ianh authored silviapfeiffer committed
Showing with 9 additions and 6 deletions.
  1. +9 −6 source
15 source
View
@@ -2992,6 +2992,7 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
<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>
@@ -17287,13 +17288,15 @@ c-end = "-->"</pre>
<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
Please sign in to comment.
Something went wrong with that request. Please try again.