Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
SeleniumHQ
GitHub Repository: SeleniumHQ/Selenium
Path: blob/trunk/third_party/closure/goog/dom/htmlelement.js
4143 views
1
/**
2
* @license
3
* Copyright The Closure Library Authors.
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
goog.provide('goog.dom.HtmlElement');
8
9
10
11
/**
12
* This subclass of HTMLElement is used when only a HTMLElement is possible and
13
* not any of its subclasses. Normally, a type can refer to an instance of
14
* itself or an instance of any subtype. More concretely, if HTMLElement is used
15
* then the compiler must assume that it might still be e.g. HTMLScriptElement.
16
* With this, the type check knows that it couldn't be any special element.
17
*
18
* @constructor
19
* @extends {HTMLElement}
20
*/
21
goog.dom.HtmlElement = function() {};
22
23