diff --git a/dom.bs b/dom.bs index 3e4121389..be8fdf3e8 100644 --- a/dom.bs +++ b/dom.bs @@ -2598,13 +2598,11 @@ with an optional suppress observers flag, run these steps: method from being exposed on elements (and therefore on {{ParentNode}}).
-[NoInterfaceObject, - Exposed=Window] -interface NonElementParentNode { +interface mixin NonElementParentNode { Element? getElementById(DOMString elementId); }; -Document implements NonElementParentNode; -DocumentFragment implements NonElementParentNode; +Document includes NonElementParentNode; +DocumentFragment includes NonElementParentNode;
-[NoInterfaceObject, - Exposed=Window] -interface DocumentOrShadowRoot { +interface mixin DocumentOrShadowRoot { }; -Document implements DocumentOrShadowRoot; -ShadowRoot implements DocumentOrShadowRoot; +Document includes DocumentOrShadowRoot; +ShadowRoot includes DocumentOrShadowRoot;
The {{DocumentOrShadowRoot}} mixin is expected to be used by other @@ -2658,9 +2654,7 @@ To convert nodes into a node
-[NoInterfaceObject, - Exposed=Window] -interface ParentNode { +interface mixin ParentNode { [SameObject] readonly attribute HTMLCollection children; readonly attribute Element? firstElementChild; readonly attribute Element? lastElementChild; @@ -2672,9 +2666,9 @@ interface ParentNode { Element? querySelector(DOMString selectors); [NewObject] NodeList querySelectorAll(DOMString selectors); }; -Document implements ParentNode; -DocumentFragment implements ParentNode; -Element implements ParentNode; +Document includes ParentNode; +DocumentFragment includes ParentNode; +Element includes ParentNode;