diff --git a/spec/index.bs b/spec/index.bs index 4ef48257..242c4e3a 100644 --- a/spec/index.bs +++ b/spec/index.bs @@ -123,6 +123,8 @@ spec:ECMA-262; urlPrefix: https://tc39.github.io/ecma262/ type:dfn; text:current realm record; url: current-realm spec: HTML; urlPrefix: https://html.spec.whatwg.org/ type: dfn; text: prepare the script element; url: prepare-the-script-element +spec: DOM; urlPrefix: https://dom.spec.whatwg.org/ + type: dfn; text: append; url: concept-node-append
@@ -1476,6 +1478,26 @@ On setting {{SVGAnimatedString/baseVal}}, the following steps are run:
Note: SVG does not have a complete script processing model yet. Trusted Types assumes that the attribute and text body modification protections behave similarly to ones for HTML scripts outlined in [[#enforcement-in-scripts]].
+## Integration with DOM ## {#integration-with-dom}
+
+This document modifies the following interfaces defined by [[DOM]]:
+
+
+partial interface mixin ParentNode {
+ [CEReactions, Unscopable] undefined prepend((Node or DOMString or TrustedScript)... nodes);
+ [CEReactions, Unscopable] undefined append((Node or DOMString or TrustedScript)... nodes);
+ [CEReactions, Unscopable] undefined replaceChildren((Node or DOMString or TrustedScript)... nodes);
+};
+
+partial interface mixin ChildNode {
+ [CEReactions, Unscopable] undefined before((Node or DOMString or TrustedScript)... nodes);
+ [CEReactions, Unscopable] undefined after((Node or DOMString or TrustedScript)... nodes);
+ [CEReactions, Unscopable] undefined replaceWith((Node or DOMString or TrustedScript)... nodes);
+};
+
+
+Issue: Keep in sync with https://github.com/whatwg/dom/pull/1258.
+
## Integration with DOM Parsing ## {#integration-with-dom-parsing}
This document modifies the following interfaces defined by [[DOM-Parsing]]: