diff --git a/source b/source index 18c92204969..65ad27b336c 100644 --- a/source +++ b/source @@ -2166,6 +2166,12 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d data-x="concept-node-remove-ext">removing steps are invoked with it as argument and it is now no longer in a document.
+A node is connected when the insertion + steps are invoked with it as argument and it is now in a shadow-including + document. Analogously, a node is disconnected when the removing steps are invoked with it as argument and it is + now no longer in a shadow-including document.
+When a script
element that is not marked as being "parser-inserted"
- experiences one of the events listed in the following list, the user agent must immediately
- prepare the script
element:
script
+ element:
script
element gets inserted
- into a document, at the time the node is inserted
- according to the DOM, after any other script
elements inserted at the same time that
- are earlier in the Document
in tree order.script
element gets connected.script
element is in a Document
and a node or
+ script
element is in a shadow-including document and a node or
document fragment is inserted into the
script
element, after any script
elements inserted at that time.script
element is in a Document
and has a src
attribute set where previously the element had no such
+ script
element is in a shadow-including document and has a
+ src
attribute set where previously the element had no such
attribute.classic
"Set the If the script
element's node document's script
element is in a document, then set the
+ script
element's node document's currentScript
attribute to the
- script
element.
script
element. Otherwise, set it to null.
Run the classic script given by the script's script.
Otherwise queue a task to fire a simple event named load
at the script
element.