diff --git a/dom4/dom4.d.ts b/dom4/dom4.d.ts index 6139a6f7e..5c6538e5b 100644 --- a/dom4/dom4.d.ts +++ b/dom4/dom4.d.ts @@ -9,21 +9,6 @@ interface ParentNode { */ children: HTMLCollection; - /** - * Returns the first child that is an element, and null otherwise. - */ - firstElementChild: Element; - - /** - * Returns the last child that is an element, and null otherwise. - */ - lastElementChild: Element; - - /** - * Returns the number of children that are elements. - */ - childElementCount: number; - /** * Returns the first element that is a descendant of node that matches relativeSelectors. */ @@ -47,11 +32,11 @@ interface Element extends ParentNode { matches(selectors: string): boolean; } -interface Elements extends ParentNode, Array { +interface Elements extends ElementTraversal, ParentNode, Array { } -interface Document extends ParentNode { +interface Document extends ElementTraversal, ParentNode { } -interface DocumentFragment extends ParentNode { +interface DocumentFragment extends ElementTraversal, ParentNode { }