Index: core/dom/ChildNode.idl |
diff --git a/core/dom/ChildNode.idl b/core/dom/ChildNode.idl |
index 38ccf66bd574cbee5eb7e19436407e842b0cccd9..0b0168ecc06b0ccbdc1d3fed3ecce6d6731fc2fe 100644 |
--- a/core/dom/ChildNode.idl |
+++ b/core/dom/ChildNode.idl |
@@ -20,13 +20,14 @@ |
* Boston, MA 02110-1301, USA. |
*/ |
-// http://dom.spec.whatwg.org/#interface-childnode |
+// https://dom.spec.whatwg.org/#interface-childnode |
[ |
LegacyTreatAsPartialInterface, |
NoInterfaceObject, // Always used on target of 'implements' |
] interface ChildNode { |
- [PerWorldBindings] readonly attribute Element previousElementSibling; |
- [PerWorldBindings] readonly attribute Element nextElementSibling; |
- [RaisesException, CustomElementCallbacks] void remove(); |
+ [Unscopeable, RaisesException, CustomElementCallbacks, RuntimeEnabled=DOMConvenienceAPI] void before((Node or DOMString) ... nodes); |
+ [Unscopeable, RaisesException, CustomElementCallbacks, RuntimeEnabled=DOMConvenienceAPI] void after((Node or DOMString)... nodes); |
+ [Unscopeable, RaisesException, CustomElementCallbacks, RuntimeEnabled=DOMConvenienceAPI] void replaceWith((Node or DOMString)... nodes); |
+ [Unscopeable, RaisesException, CustomElementCallbacks] void remove(); |
}; |