google-closure-compiler
Version:
Check, compile, optimize and compress Javascript with Closure-Compiler
2,011 lines (1,692 loc) • 81.2 kB
JavaScript
/*
* Copyright 2008 The Closure Compiler Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @fileoverview Definitions for W3C's DOM Level 2 specification.
* This file depends on w3c_dom1.js.
* The whole file has been fully type annotated.
* Created from
* http://www.w3.org/TR/REC-DOM-Level-1/ecma-script-language-binding.html
*
* @externs
*/
/**
* @param {string} s id.
* @return {Element}
* @nosideeffects
* @see https://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/core.html#ID-getElBId
*/
Document.prototype.getElementById = function(s) {};
/**
* @param {?string} namespaceURI
* @param {string} qualifiedName
* @param {string=} opt_typeExtension
* @return {!Element}
* @see https://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/core.html#ID-DocCrElNS
*/
Document.prototype.createElementNS = function(
namespaceURI, qualifiedName, opt_typeExtension) {};
/**
* @param {?string} namespaceURI
* @param {string} qualifiedName
* @return {!Attr}
* @see https://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/core.html#ID-DocCrElNS
*/
Document.prototype.createAttributeNS = function(namespaceURI, qualifiedName) {};
/**
* @param {Node} root
* @param {number=} whatToShow
* @param {NodeFilter=} filter
* @param {boolean=} entityReferenceExpansion
* @return {!NodeIterator}
* @see https://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113/traversal.html#Traversal-Document
* @see https://dom.spec.whatwg.org/#interface-document
* @nosideeffects
*/
Document.prototype.createNodeIterator = function(
root, whatToShow, filter, entityReferenceExpansion) {};
/**
* @param {Node} root
* @param {number=} whatToShow
* @param {NodeFilter=} filter
* @param {boolean=} entityReferenceExpansion
* @return {!TreeWalker}
* @see https://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113/traversal.html#Traversal-Document
* @see https://dom.spec.whatwg.org/#interface-document
* @nosideeffects
*/
Document.prototype.createTreeWalker = function(
root, whatToShow, filter, entityReferenceExpansion) {};
/**
* @param {string} namespace
* @param {string} name
* @return {!NodeList<!Element>}
* @nosideeffects
* @see https://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/core.html#ID-getElBTNNS
*/
Document.prototype.getElementsByTagNameNS = function(namespace, name) {};
/**
* @param {!Node} externalNode
* @param {boolean=} deep
* @return {!Node}
* @see https://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/core.html#Core-Document-importNode
*/
Document.prototype.importNode = function(externalNode, deep) {};
/**
* @constructor
* @implements {IObject<(string|number),T>}
* @implements {IArrayLike<T>}
* @implements {Iterable<T>}
* @template T
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-75708506
*/
function HTMLCollection() {}
/** @override */
HTMLCollection.prototype[Symbol.iterator] = function() {};
/**
* @type {number}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-40057551
*/
HTMLCollection.prototype.length;
/**
* @param {number} index
* @return {T|null}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-33262535
* @nosideeffects
*/
HTMLCollection.prototype.item = function(index) {};
/**
* @param {string} name
* @return {T|null}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-21069976
* @nosideeffects
*/
HTMLCollection.prototype.namedItem = function(name) {};
/**
* @constructor
* @extends {HTMLCollection<HTMLOptionElement>}
* @see https://html.spec.whatwg.org/multipage/common-dom-interfaces.html#htmloptionscollection
*/
function HTMLOptionsCollection() {}
/** @override */
HTMLOptionsCollection.prototype[Symbol.iterator] = function() {};
/**
* @type {number}
* @see https://html.spec.whatwg.org/multipage/common-dom-interfaces.html#dom-htmloptionscollection-length
* @nosideeffects
*/
HTMLOptionsCollection.prototype.length;
/**
* @param {HTMLOptionElement|HTMLOptGroupElement} element
* @param {HTMLElement|number=} before
* @return {undefined}
* @see https://html.spec.whatwg.org/multipage/common-dom-interfaces.html#dom-htmloptionscollection-add
*/
HTMLOptionsCollection.prototype.add = function(element, before) {};
/**
* NOTE(tjgq): The HTMLOptionsCollection#item method is inherited from
* HTMLCollection, but it must be declared explicitly to work around an error
* when building a jsinterop library for GWT.
* @param {number} index
* @return {HTMLOptionElement}
* @override
* @nosideeffects
*/
HTMLOptionsCollection.prototype.item = function(index) {};
/**
* @param {number} index
* @return {undefined}
* @see https://html.spec.whatwg.org/multipage/common-dom-interfaces.html#dom-htmloptionscollection-remove
*/
HTMLOptionsCollection.prototype.remove = function(index) {};
/**
* @constructor
* @extends {Document}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-26809268
*/
function HTMLDocument() {}
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-18446827
*/
HTMLDocument.prototype.title;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-95229140
*/
HTMLDocument.prototype.referrer;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-2250147
*/
HTMLDocument.prototype.domain;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-46183437
*/
HTMLDocument.prototype.URL;
/**
* @type {!HTMLBodyElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-56360201
*/
HTMLDocument.prototype.body;
/**
* @type {!HTMLCollection<!HTMLImageElement>}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-90379117
*/
HTMLDocument.prototype.images;
/**
* @type {!HTMLCollection<!HTMLAppletElement>}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-85113862
*/
HTMLDocument.prototype.applets;
/**
* @type {!HTMLCollection<(!HTMLAnchorElement|!HTMLAreaElement)>}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-7068919
*/
HTMLDocument.prototype.links;
/**
* @type {!HTMLCollection<!HTMLFormElement>}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-1689064
*/
HTMLDocument.prototype.forms;
/**
* @type {!HTMLCollection<!HTMLAnchorElement>}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-7577272
*/
HTMLDocument.prototype.anchors;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-8747038
*/
HTMLDocument.prototype.cookie;
/**
* @param {string=} opt_mimeType
* @param {string=} opt_replace
* @return {undefined}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-72161170
* Even though official spec says "no parameters" some old browsers might take
* optional parameters:
* https://msdn.microsoft.com/en-us/library/ms536652(v=vs.85).aspx
* @override
*/
HTMLDocument.prototype.open = function(opt_mimeType, opt_replace) {};
/**
* @param {string} elementName
* @return {!NodeList<!Element>}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-71555259
* @nosideeffects
*/
HTMLDocument.prototype.getElementsByName = function(elementName) {};
/**
@typedef {{
createNodeIterator: function(Node, number=, NodeFilter=, boolean=) :
NodeIterator, createTreeWalker: function(Node, number=, NodeFilter=, boolean=) :
TreeWalker
}}
*/
var TraversalDocument;
/**
* @record
* @see http://www.w3.org/TR/DOM-Level-2-Traversal-Range/traversal.html#Traversal-NodeFilter
*/
function NodeFilter() {}
/* Constants for whatToShow */
/** @const {number} */ NodeFilter.SHOW_ALL;
/** @const {number} */ NodeFilter.SHOW_ATTRIBUTE;
/** @const {number} */ NodeFilter.SHOW_CDATA_SECTION;
/** @const {number} */ NodeFilter.SHOW_COMMENT;
/** @const {number} */ NodeFilter.SHOW_DOCUMENT;
/** @const {number} */ NodeFilter.SHOW_DOCUMENT_FRAGMENT;
/** @const {number} */ NodeFilter.SHOW_DOCUMENT_TYPE;
/** @const {number} */ NodeFilter.SHOW_ELEMENT;
/** @const {number} */ NodeFilter.SHOW_ENTITY;
/** @const {number} */ NodeFilter.SHOW_ENTITY_REFERENCE;
/** @const {number} */ NodeFilter.SHOW_NOTATION;
/** @const {number} */ NodeFilter.SHOW_PROCESSING_INSTRUCTION;
/** @const {number} */ NodeFilter.SHOW_TEXT;
/* Consants for acceptNode */
/** @const {number} */ NodeFilter.FILTER_ACCEPT;
/** @const {number} */ NodeFilter.FILTER_REJECT;
/** @const {number} */ NodeFilter.FILTER_SKIP;
/**
* @param {Node} n
* @return {number} Any of NodeFilter.FILTER_* constants.
* @see http://www.w3.org/TR/DOM-Level-2-Traversal-Range/traversal.html#Traversal-NodeFilter-acceptNode
*/
NodeFilter.prototype.acceptNode = function(n) {};
/**
* @interface
* @see http://www.w3.org/TR/DOM-Level-2-Traversal-Range/traversal.html#Traversal-NodeIterator
*/
function NodeIterator() {}
/**
* Detach and invalidate the NodeIterator.
* @see http://www.w3.org/TR/DOM-Level-2-Traversal-Range/traversal.html#Traversal-NodeIterator-detach
* @return {undefined}
*/
NodeIterator.prototype.detach = function() {};
/**
* @return {Node} Next node in the set.
* @see http://www.w3.org/TR/DOM-Level-2-Traversal-Range/traversal.html#Traversal-NodeIterator-nextNode
*/
NodeIterator.prototype.nextNode = function() {};
/**
* @return {Node} Previous node in the set.
* @see http://www.w3.org/TR/DOM-Level-2-Traversal-Range/traversal.html#Traversal-NodeIterator-previousNode
*/
NodeIterator.prototype.previousNode = function() {};
/** @type {NodeFilter} */
NodeIterator.prototype.filter;
/** @type {boolean} */
NodeIterator.prototype.pointerBeforeReferenceNode;
/** @type {Node} */
NodeIterator.prototype.referenceNode;
/** @type {Node} */
NodeIterator.prototype.root;
/** @type {number} */
NodeIterator.prototype.whatToShow;
/**
* @interface
* @see http://www.w3.org/TR/DOM-Level-2-Traversal-Range/traversal.html#Traversal-TreeWalker
*/
function TreeWalker() {}
/**
* @return {?Node} The new Node or null.
* @see http://www.w3.org/TR/DOM-Level-2-Traversal-Range/traversal.html#Traversal-TreeWalker-firstChild
*/
TreeWalker.prototype.firstChild = function() {};
/**
* @return {?Node} The new Node or null..
* @see http://www.w3.org/TR/DOM-Level-2-Traversal-Range/traversal.html#Traversal-TreeWalker-lastChild
*/
TreeWalker.prototype.lastChild = function() {};
/**
* @return {?Node} The new Node or null.
* @see http://www.w3.org/TR/DOM-Level-2-Traversal-Range/traversal.html#Traversal-TreeWalker-nextNode
*/
TreeWalker.prototype.nextNode = function() {};
/**
* @return {?Node} The new Node or null.
* @see http://www.w3.org/TR/DOM-Level-2-Traversal-Range/traversal.html#Traversal-TreeWalker-nextSibling
*/
TreeWalker.prototype.nextSibling = function() {};
/**
* @return {?Node} The new Node or null.
* @see http://www.w3.org/TR/DOM-Level-2-Traversal-Range/traversal.html#Traversal-TreeWalker-parentNode
*/
TreeWalker.prototype.parentNode = function() {};
/**
* @return {?Node} The new Node or null.
* @see http://www.w3.org/TR/DOM-Level-2-Traversal-Range/traversal.html#Traversal-TreeWalker-previousNode
*/
TreeWalker.prototype.previousNode = function() {};
/**
* @return {?Node} The new Node or null.
* @see http://www.w3.org/TR/DOM-Level-2-Traversal-Range/traversal.html#Traversal-TreeWalker-previousSibling
*/
TreeWalker.prototype.previousSibling = function() {};
/**
* @type {Node}
*/
TreeWalker.prototype.root;
/**
* @type {number}
*/
TreeWalker.prototype.whatToShow;
/**
* @type {NodeFilter}
*/
TreeWalker.prototype.filter;
/**
* @type {boolean}
*/
TreeWalker.prototype.expandEntityReference;
/**
* @type {Node}
*/
TreeWalker.prototype.currentNode;
/**
* @constructor
* @extends {Element}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-58190037
*/
function HTMLElement() {}
/**
* @type {string}
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/accessKeyLabel
*/
HTMLElement.prototype.accessKeyLabel;
/**
* @type {string}
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/writingSuggestions
*/
HTMLElement.prototype.writingSuggestions;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-78276800
*/
HTMLElement.prototype.title;
/**
* @type {!CSSStyleDeclaration}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-ElementCSSInlineStyle
*/
HTMLElement.prototype.style;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-59132807
*/
HTMLElement.prototype.lang;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-52460740
*/
HTMLElement.prototype.dir;
/**
* @implicitCast
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-95362176
*/
HTMLElement.prototype.className;
/**
* @return {undefined}
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/click
* @override
*/
HTMLElement.prototype.click = function() {};
/**
* @type {string}
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/outerText
*/
HTMLElement.prototype.outerText;
/**
* @type {string|null}
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/popover
*/
HTMLElement.prototype.popover;
/**
* @return {undefined}
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/hidePopover
*/
HTMLElement.prototype.hidePopover = function() {};
/**
* @return {undefined}
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/showPopover
*/
HTMLElement.prototype.showPopover = function() {};
/**
* @param {boolean=} force
* @return {boolean}
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/togglePopover
*/
HTMLElement.prototype.togglePopover = function(force) {};
/**
* @type {number}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-40676705
*/
HTMLElement.prototype.tabIndex;
/**
* @constructor
* @extends {HTMLElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-33759296
*/
function HTMLHtmlElement() {}
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-9383775
*/
HTMLHtmlElement.prototype.version;
/**
* @constructor
* @extends {HTMLElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-77253168
*/
function HTMLHeadElement() {}
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-96921909
*/
HTMLHeadElement.prototype.profile;
/**
* @constructor
* @extends {HTMLElement}
* @implements {LinkStyle}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-35143001
*/
function HTMLLinkElement() {}
/**
* @type {boolean}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-87355129
*/
HTMLLinkElement.prototype.disabled;
/**
* @type {string}
* @see https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/fetchPriority
*/
HTMLLinkElement.prototype.fetchPriority;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-63954491
*/
HTMLLinkElement.prototype.charset;
/**
* @type {string}
* @implicitCast
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-33532588
*/
HTMLLinkElement.prototype.href;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-85145682
*/
HTMLLinkElement.prototype.hreflang;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-75813125
*/
HTMLLinkElement.prototype.media;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-41369587
*/
HTMLLinkElement.prototype.rel;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-40715461
*/
HTMLLinkElement.prototype.rev;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-84183095
*/
HTMLLinkElement.prototype.target;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-32498296
*/
HTMLLinkElement.prototype.type;
/** @type {StyleSheet} */
HTMLLinkElement.prototype.sheet;
/**
* @type {!DOMTokenList}
* @see https://github.com/WICG/webpackage/blob/master/explainers/subresource-loading.md
*/
HTMLLinkElement.prototype.resources;
/**
* @constructor
* @extends {HTMLElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-79243169
*/
function HTMLTitleElement() {}
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-77500413
*/
HTMLTitleElement.prototype.text;
/**
* @constructor
* @extends {HTMLElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-37041454
*/
function HTMLMetaElement() {}
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-87670826
*/
HTMLMetaElement.prototype.content;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-77289449
*/
HTMLMetaElement.prototype.httpEquiv;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-31037081
*/
HTMLMetaElement.prototype.name;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-35993789
*/
HTMLMetaElement.prototype.scheme;
/**
* @constructor
* @extends {HTMLElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-73629039
*/
function HTMLBaseElement() {}
/**
* @type {string}
* @implicitCast
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-65382887
*/
HTMLBaseElement.prototype.href;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-73844298
*/
HTMLBaseElement.prototype.target;
/**
* @constructor
* @extends {HTMLElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-85283003
*/
function HTMLIsIndexElement() {}
/**
* @type {HTMLFormElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-87069980
*/
HTMLIsIndexElement.prototype.form;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-33589862
*/
HTMLIsIndexElement.prototype.prompt;
/**
* @constructor
* @extends {HTMLElement}
* @implements {LinkStyle}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-16428977
*/
function HTMLStyleElement() {}
/**
* @type {boolean}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-51162010
*/
HTMLStyleElement.prototype.disabled;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-76412738
*/
HTMLStyleElement.prototype.media;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-22472002
*/
HTMLStyleElement.prototype.type;
/** @type {StyleSheet} */
HTMLStyleElement.prototype.sheet;
/**
* @constructor
* @extends {HTMLElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-62018039
*/
function HTMLBodyElement() {}
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-59424581
*/
HTMLBodyElement.prototype.aLink;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-37574810
*/
HTMLBodyElement.prototype.background;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-24940084
*/
HTMLBodyElement.prototype.bgColor;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-7662206
*/
HTMLBodyElement.prototype.link;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-73714763
*/
HTMLBodyElement.prototype.text;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-83224305
*/
HTMLBodyElement.prototype.vLink;
/**
* @constructor
* @extends {HTMLCollection<T>}
* @implements {IObject<string, (T|RadioNodeList<T>)>}
* @implements {IArrayLike<T>}
* @template T
* @see https://html.spec.whatwg.org/multipage/infrastructure.html#the-htmlformcontrolscollection-interface
*/
function HTMLFormControlsCollection() {}
/** @override */
HTMLFormControlsCollection.prototype[Symbol.iterator] = function() {};
/**
* @param {string} name
* @return {T|RadioNodeList<T>|null}
* @see https://html.spec.whatwg.org/multipage/infrastructure.html#dom-htmlformcontrolscollection-nameditem
* @nosideeffects
* @override
*/
HTMLFormControlsCollection.prototype.namedItem = function(name) {};
/**
* @constructor
* @extends {HTMLElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-40002357
*/
function HTMLFormElement() {}
/**
* @type {!HTMLFormControlsCollection<!HTMLElement>}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-76728479
*/
HTMLFormElement.prototype.elements;
/**
* @type {number}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#HTML-HTMLFormElement-length
*/
HTMLFormElement.prototype.length;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-22051454
*/
HTMLFormElement.prototype.name;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-19661795
*/
HTMLFormElement.prototype.acceptCharset;
/**
* @type {string}
* @implicitCast
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-74049184
*/
HTMLFormElement.prototype.action;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-84227810
*/
HTMLFormElement.prototype.enctype;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-82545539
*/
HTMLFormElement.prototype.method;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-6512890
*/
HTMLFormElement.prototype.target;
/**
* @return {undefined}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-76767676
*/
HTMLFormElement.prototype.submit = function() {};
/**
* @return {undefined}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-76767677
*/
HTMLFormElement.prototype.reset = function() {};
/**
* @constructor
* @extends {HTMLElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-94282980
*/
function HTMLSelectElement() {}
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-58783172
*/
HTMLSelectElement.prototype.type;
/**
* @type {number}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-85676760
*/
HTMLSelectElement.prototype.selectedIndex;
/**
* @type {string}
* @implicitCast
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-59351919
*/
HTMLSelectElement.prototype.value;
/**
* @type {number}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-5933486
*/
HTMLSelectElement.prototype.length;
/**
* @type {HTMLFormElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-20489458
*/
HTMLSelectElement.prototype.form;
/**
* @type {!HTMLOptionsCollection}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-30606413
*/
HTMLSelectElement.prototype.options;
/**
* @type {boolean}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-79102918
*/
HTMLSelectElement.prototype.disabled;
/**
* @type {boolean}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-13246613
*/
HTMLSelectElement.prototype.multiple;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-41636323
*/
HTMLSelectElement.prototype.name;
/**
* @type {number}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-18293826
*/
HTMLSelectElement.prototype.size;
/**
* @param {HTMLElement} element
* @param {HTMLElement=} opt_before
* @return {undefined}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-14493106
*/
HTMLSelectElement.prototype.add = function(element, opt_before) {};
/**
* @return {undefined}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-28216144
* @override
*/
HTMLSelectElement.prototype.blur = function() {};
/**
* @return {undefined}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-32130014
* @override
*/
HTMLSelectElement.prototype.focus = function() {};
/**
* @param {number=} opt_index
* @return {undefined}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-33404570
* @override
*/
HTMLSelectElement.prototype.remove = function(opt_index) {};
/**
* @constructor
* @extends {HTMLElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-38450247
*/
function HTMLOptGroupElement() {}
/**
* @type {boolean}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-15518803
*/
HTMLOptGroupElement.prototype.disabled;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-95806054
*/
HTMLOptGroupElement.prototype.label;
/**
* @constructor
* @extends {HTMLElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-70901257
*/
function HTMLOptionElement() {}
/**
* @type {boolean}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-37770574
*/
HTMLOptionElement.prototype.defaultSelected;
/**
* @type {boolean}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-23482473
*/
HTMLOptionElement.prototype.disabled;
/**
* @type {HTMLFormElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-17116503
*/
HTMLOptionElement.prototype.form;
/**
* @type {number}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-14038413
*/
HTMLOptionElement.prototype.index;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-40736115
*/
HTMLOptionElement.prototype.label;
/**
* @type {boolean}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-70874476
*/
HTMLOptionElement.prototype.selected;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-48154426
*/
HTMLOptionElement.prototype.text;
/**
* @type {string}
* @implicitCast
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-6185554
*/
HTMLOptionElement.prototype.value;
/**
* @constructor
* @extends {HTMLOptionElement}
* @param {*=} opt_text
* @param {*=} opt_value
* @param {*=} opt_defaultSelected
* @param {*=} opt_selected
*/
function Option(opt_text, opt_value, opt_defaultSelected, opt_selected) {}
/**
* @constructor
* @extends {HTMLElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-6043025
*/
function HTMLInputElement() {}
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-15328520
*/
HTMLInputElement.prototype.accept;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-59914154
*/
HTMLInputElement.prototype.accessKey;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-96991182
*/
HTMLInputElement.prototype.align;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-92701314
*/
HTMLInputElement.prototype.alt;
/**
* @type {boolean}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-30233917
*/
HTMLInputElement.prototype.checked;
/**
* @type {boolean}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-20509171
*/
HTMLInputElement.prototype.defaultChecked;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-26091157
*/
HTMLInputElement.prototype.defaultValue;
/**
* @type {boolean}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-50886781
*/
HTMLInputElement.prototype.disabled;
/**
* @type {HTMLFormElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-63239895
*/
HTMLInputElement.prototype.form;
/**
* @type {number}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-54719353
*/
HTMLInputElement.prototype.maxLength;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-89658498
*/
HTMLInputElement.prototype.name;
/**
* @type {boolean}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-88461592
*/
HTMLInputElement.prototype.readOnly;
/**
* @type {number}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-79659438
*/
HTMLInputElement.prototype.size;
/**
* @type {string}
* @implicitCast
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-97320704
*/
HTMLInputElement.prototype.src;
/**
* @type {number}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-62176355
*/
HTMLInputElement.prototype.tabIndex;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-62883744
*/
HTMLInputElement.prototype.type;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-32463706
*/
HTMLInputElement.prototype.useMap;
/**
* @type {string}
* @implicitCast
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-49531485
*/
HTMLInputElement.prototype.value;
/**
* @return {undefined}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-26838235
* @override
*/
HTMLInputElement.prototype.blur = function() {};
/**
* @return {undefined}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-2651361
* @override
*/
HTMLInputElement.prototype.click = function() {};
/**
* @return {undefined}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-65996295
* @override
*/
HTMLInputElement.prototype.focus = function() {};
/**
* @return {undefined}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-34677168
*/
HTMLInputElement.prototype.select = function() {};
/**
* @type {string}
*/
HTMLInputElement.prototype.popoverTargetAction;
/**
* @type {?Element}
*/
HTMLInputElement.prototype.popoverTargetElement;
/**
* @constructor
* @extends {HTMLElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-24874179
*/
function HTMLTextAreaElement() {}
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-93102991
*/
HTMLTextAreaElement.prototype.accessKey;
/**
* @type {number}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-51387225
*/
HTMLTextAreaElement.prototype.cols;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-36152213
*/
HTMLTextAreaElement.prototype.defaultValue;
/**
* @type {boolean}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-98725443
*/
HTMLTextAreaElement.prototype.disabled;
/**
* @type {HTMLFormElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-18911464
*/
HTMLTextAreaElement.prototype.form;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-70715578
*/
HTMLTextAreaElement.prototype.name;
/**
* @type {boolean}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-39131423
*/
HTMLTextAreaElement.prototype.readOnly;
/**
* @type {number}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-46975887
*/
HTMLTextAreaElement.prototype.rows;
/**
* @type {number}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-60363303
*/
HTMLTextAreaElement.prototype.tabIndex;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#HTML-HTMLTextAreaElement-type
*/
HTMLTextAreaElement.prototype.type;
/**
* @type {string}
* @implicitCast
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-70715579
*/
HTMLTextAreaElement.prototype.value;
/**
* @return {undefined}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-6750689
* @override
*/
HTMLTextAreaElement.prototype.blur = function() {};
/**
* @return {undefined}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-39055426
* @override
*/
HTMLTextAreaElement.prototype.focus = function() {};
/**
* @return {undefined}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-48880622
*/
HTMLTextAreaElement.prototype.select = function() {};
/**
* @type {string}
* @see https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/wrap
*/
HTMLTextAreaElement.prototype.wrap;
/**
* @type {string}
*/
HTMLTextAreaElement.prototype.dirName;
/**
* @constructor
* @extends {HTMLElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-34812697
*/
function HTMLButtonElement() {}
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-73169431
*/
HTMLButtonElement.prototype.accessKey;
/**
* @type {boolean}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-92757155
*/
HTMLButtonElement.prototype.disabled;
/**
* @type {HTMLFormElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-71254493
*/
HTMLButtonElement.prototype.form;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-11029910
*/
HTMLButtonElement.prototype.name;
/**
* @type {number}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-39190908
*/
HTMLButtonElement.prototype.tabIndex;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-27430092
*/
HTMLButtonElement.prototype.type;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-72856782
*/
HTMLButtonElement.prototype.value;
/**
* @type {string}
*/
HTMLButtonElement.prototype.popoverTargetAction;
/**
* @type {?Element}
*/
HTMLButtonElement.prototype.popoverTargetElement;
/**
* @constructor
* @extends {HTMLElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-13691394
*/
function HTMLLabelElement() {}
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-43589892
*/
HTMLLabelElement.prototype.accessKey;
/**
* @type {HTMLFormElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-32480901
*/
HTMLLabelElement.prototype.form;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-96509813
*/
HTMLLabelElement.prototype.htmlFor;
/**
* @constructor
* @extends {HTMLElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-7365882
*/
function HTMLFieldSetElement() {}
/**
* @type {HTMLFormElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-75392630
*/
HTMLFieldSetElement.prototype.form;
/**
* @type {boolean}
* @see https://www.w3.org/TR/html5/forms.html#attr-fieldset-disabled
*/
HTMLFieldSetElement.prototype.disabled;
/**
* @constructor
* @extends {HTMLElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-21482039
*/
function HTMLLegendElement() {}
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-11297832
*/
HTMLLegendElement.prototype.accessKey;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-79538067
*/
HTMLLegendElement.prototype.align;
/**
* @type {HTMLFormElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-29594519
*/
HTMLLegendElement.prototype.form;
/**
* @constructor
* @extends {HTMLElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-86834457
*/
function HTMLUListElement() {}
/**
* @type {boolean}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-39864178
*/
HTMLUListElement.prototype.compact;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-96874670
*/
HTMLUListElement.prototype.type;
/**
* @constructor
* @extends {HTMLElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-58056027
*/
function HTMLOListElement() {}
/**
* @type {boolean}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-76448506
*/
HTMLOListElement.prototype.compact;
/**
* @type {number}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-14793325
*/
HTMLOListElement.prototype.start;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-40971103
*/
HTMLOListElement.prototype.type;
/** @type {boolean} */
HTMLOListElement.prototype.reversed;
/**
* @constructor
* @extends {HTMLElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-52368974
*/
function HTMLDListElement() {}
/**
* @type {boolean}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-21738539
*/
HTMLDListElement.prototype.compact;
/**
* @constructor
* @extends {HTMLElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-71600284
*/
function HTMLDirectoryElement() {}
/**
* @type {boolean}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-75317739
*/
HTMLDirectoryElement.prototype.compact;
/**
* @constructor
* @extends {HTMLElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-72509186
* @see http://www.w3.org/html/wg/drafts/html/master/interactive-elements.html#the-menu-element
*/
function HTMLMenuElement() {}
/**
* @type {boolean}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-68436464
*/
HTMLMenuElement.prototype.compact;
/**
* @constructor
* @extends {HTMLElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-74680021
*/
function HTMLLIElement() {}
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-52387668
*/
HTMLLIElement.prototype.type;
/**
* @type {number}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-45496263
*/
HTMLLIElement.prototype.value;
/**
* @constructor
* @extends {HTMLElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-22445964
*/
function HTMLDivElement() {}
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-70908791
*/
HTMLDivElement.prototype.align;
/**
* @constructor
* @extends {HTMLElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-84675076
*/
function HTMLParagraphElement() {}
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-53465507
*/
HTMLParagraphElement.prototype.align;
/**
* @constructor
* @extends {HTMLElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-43345119
*/
function HTMLHeadingElement() {}
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-6796462
*/
HTMLHeadingElement.prototype.align;
/**
* @constructor
* @extends {HTMLElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-70319763
*/
function HTMLQuoteElement() {}
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-53895598
*/
HTMLQuoteElement.prototype.cite;
/**
* @constructor
* @extends {HTMLElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-11383425
*/
function HTMLPreElement() {}
/**
* @type {number}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-13894083
*/
HTMLPreElement.prototype.width;
/**
* @constructor
* @extends {HTMLElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-56836063
*/
function HTMLBRElement() {}
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-82703081
*/
HTMLBRElement.prototype.clear;
/**
* @constructor
* @extends {HTMLElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-32774408
*/
function HTMLBaseFontElement() {}
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-87502302
*/
HTMLBaseFontElement.prototype.color;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-88128969
*/
HTMLBaseFontElement.prototype.face;
/**
* @type {number}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-38930424
*/
HTMLBaseFontElement.prototype.size;
/**
* @constructor
* @extends {HTMLElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-43943847
*/
function HTMLFontElement() {}
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-53532975
*/
HTMLFontElement.prototype.color;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-55715655
*/
HTMLFontElement.prototype.face;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-90127284
*/
HTMLFontElement.prototype.size;
/**
* @constructor
* @extends {HTMLElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-68228811
*/
function HTMLHRElement() {}
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-15235012
*/
HTMLHRElement.prototype.align;
/**
* @type {boolean}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-79813978
*/
HTMLHRElement.prototype.noShade;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-77612587
*/
HTMLHRElement.prototype.size;
/**
* @type {string}
* @implicitCast
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-87744198
*/
HTMLHRElement.prototype.width;
/**
* @constructor
* @extends {HTMLElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-79359609
*/
function HTMLModElement() {}
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-75101708
*/
HTMLModElement.prototype.cite;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-88432678
*/
HTMLModElement.prototype.dateTime;
/**
* @constructor
* @extends {HTMLElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-48250443
*/
function HTMLAnchorElement() {}
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-89647724
*/
HTMLAnchorElement.prototype.accessKey;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-67619266
*/
HTMLAnchorElement.prototype.charset;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-92079539
*/
HTMLAnchorElement.prototype.coords;
/**
* @type {string}
* @implicitCast
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-88517319
*/
HTMLAnchorElement.prototype.href;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-87358513
*/
HTMLAnchorElement.prototype.hreflang;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-32783304
*/
HTMLAnchorElement.prototype.name;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-3815891
*/
HTMLAnchorElement.prototype.rel;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-58259771
*/
HTMLAnchorElement.prototype.rev;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-49899808
*/
HTMLAnchorElement.prototype.shape;
/**
* @type {number}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-41586466
*/
HTMLAnchorElement.prototype.tabIndex;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-6414197
*/
HTMLAnchorElement.prototype.target;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-63938221
*/
HTMLAnchorElement.prototype.type;
/**
* @return {undefined}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-65068939
* @override
*/
HTMLAnchorElement.prototype.blur = function() {};
/**
* @return {undefined}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-47150313
* @override
*/
HTMLAnchorElement.prototype.focus = function() {};
/**
* @type {string}
* @implicitCast
* @see https://wicg.github.io/attribution-reporting-api/#idl-index
*/
HTMLAnchorElement.prototype.attributionSrc;
/**
* @constructor
* @implements {IArrayLike<!Element>}
*/
function HTMLAllCollection() {}
/** @type {number} */
HTMLAllCollection.prototype.length;
/**
* @param {string} nameOrIndex
* @return {!HTMLCollection | !Element | null}
*/
HTMLAllCollection.prototype.item = function(nameOrIndex) {};
/**
* @param {string} name
* @return {!HTMLCollection | !Element | null}
*/
HTMLAllCollection.prototype.namedItem = function(name) {};
/**
* @constructor
* @extends {HTMLElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-17701901
*/
function HTMLImageElement() {}
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-3211094
*/
HTMLImageElement.prototype.align;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-95636861
*/
HTMLImageElement.prototype.alt;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-136671
*/
HTMLImageElement.prototype.border;
/**
* @type {string}
* @see https://developer.mozilla.org/docs/Web/API/HTMLImageElement/fetchPriority
*/
HTMLImageElement.prototype.fetchPriority;
/**
* @type {number}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-91561496
*/
HTMLImageElement.prototype.height;
/**
* @type {number}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-53675471
*/
HTMLImageElement.prototype.hspace;
/**
* @type {boolean}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-58983880
*/
HTMLImageElement.prototype.isMap;
/**
* @type {string}
* @see https://html.spec.whatwg.org/multipage/embedded-content.html#dom-img-loading
*/
HTMLImageElement.prototype.loading;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-77376969
*/
HTMLImageElement.prototype.longDesc;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-91256910
*/
HTMLImageElement.prototype.lowSrc;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-47534097
*/
HTMLImageElement.prototype.name;
/**
* @type {string}
* @implicitCast
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-87762984
*/
HTMLImageElement.prototype.src;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-35981181
*/
HTMLImageElement.prototype.useMap;
/**
* @type {number}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-85374897
*/
HTMLImageElement.prototype.vspace;
/**
* @type {number}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-13839076
*/
HTMLImageElement.prototype.width;
/**
* @type {string}
* @implicitCast
* @see https://wicg.github.io/attribution-reporting-api/#idl-index
*/
HTMLImageElement.prototype.attributionSrc;
/**
* @constructor
* @extends {HTMLElement}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-9893177
*/
function HTMLObjectElement() {}
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-16962097
*/
HTMLObjectElement.prototype.align;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-47783837
*/
HTMLObjectElement.prototype.archive;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-82818419
*/
HTMLObjectElement.prototype.border;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-75241146
*/
HTMLObjectElement.prototype.code;
/**
* @type {string}
* @implicitCast
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-25709136
*/
HTMLObjectElement.prototype.codeBase;
/**
* @type {string}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-19945008
*/
HTMLObjectElement.prototype.codeType;
/**
* @type {Document}
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-38538621
*/
HTMLObjectElement.prototype.contentDocument;
/**
* @type {string}
* @implicitCast
* @see http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-81766986
*/
HTMLObjectElement.prototype.data;
/**
* @type {boolean}
* @see h