@@ -2865,6 +2865,7 @@ interface Document extends Node, GlobalEventHandlers, NodeSelector, DocumentEven
2865
2865
createElement(tagName: "x-ms-webview"): MSHTMLWebViewElement;
2866
2866
createElement(tagName: "xmp"): HTMLPreElement;
2867
2867
createElement(tagName: string): HTMLElement;
2868
+ createElementNS(namespaceURI: "http://www.w3.org/1999/xhtml", qualifiedName: string): HTMLElement
2868
2869
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "a"): SVGAElement
2869
2870
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "circle"): SVGCircleElement
2870
2871
createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: "clipPath"): SVGClipPathElement
@@ -2988,7 +2989,7 @@ interface Document extends Node, GlobalEventHandlers, NodeSelector, DocumentEven
2988
2989
* @param elementId String that specifies the ID value. Case-insensitive.
2989
2990
*/
2990
2991
getElementById(elementId: string): HTMLElement;
2991
- getElementsByClassName(classNames: string): NodeListOf <Element>;
2992
+ getElementsByClassName(classNames: string): HTMLCollectionOf <Element>;
2992
2993
/**
2993
2994
* Gets a collection of objects based on the value of the NAME or ID attribute.
2994
2995
* @param elementName Gets a collection of objects based on the value of the NAME or ID attribute.
@@ -3175,7 +3176,9 @@ interface Document extends Node, GlobalEventHandlers, NodeSelector, DocumentEven
3175
3176
getElementsByTagName(tagname: "x-ms-webview"): NodeListOf<MSHTMLWebViewElement>;
3176
3177
getElementsByTagName(tagname: "xmp"): NodeListOf<HTMLPreElement>;
3177
3178
getElementsByTagName(tagname: string): NodeListOf<Element>;
3178
- getElementsByTagNameNS(namespaceURI: string, localName: string): NodeListOf<Element>;
3179
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
3180
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
3181
+ getElementsByTagNameNS(namespaceURI: string, localName: string): HTMLCollectionOf<Element>;
3179
3182
/**
3180
3183
* Returns an object representing the current selection of the document that is loaded into the object displaying a webpage.
3181
3184
*/
@@ -3643,7 +3646,9 @@ interface Element extends Node, GlobalEventHandlers, ElementTraversal, NodeSelec
3643
3646
getElementsByTagName(name: "x-ms-webview"): NodeListOf<MSHTMLWebViewElement>;
3644
3647
getElementsByTagName(name: "xmp"): NodeListOf<HTMLPreElement>;
3645
3648
getElementsByTagName(name: string): NodeListOf<Element>;
3646
- getElementsByTagNameNS(namespaceURI: string, localName: string): NodeListOf<Element>;
3649
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
3650
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
3651
+ getElementsByTagNameNS(namespaceURI: string, localName: string): HTMLCollectionOf<Element>;
3647
3652
hasAttribute(name: string): boolean;
3648
3653
hasAttributeNS(namespaceURI: string, localName: string): boolean;
3649
3654
msGetRegionContent(): MSRangeCollection;
0 commit comments