Path: blob/trunk/third_party/closure/goog/dom/htmlelement.js
2868 views
// Copyright 2017 The Closure Library Authors. All Rights Reserved.1//2// Licensed under the Apache License, Version 2.0 (the "License");3// you may not use this file except in compliance with the License.4// You may obtain a copy of the License at5//6// http://www.apache.org/licenses/LICENSE-2.07//8// Unless required by applicable law or agreed to in writing, software9// distributed under the License is distributed on an "AS-IS" BASIS,10// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.11// See the License for the specific language governing permissions and12// limitations under the License.1314goog.provide('goog.dom.HtmlElement');15161718/**19* This subclass of HTMLElement is used when only a HTMLElement is possible and20* not any of its subclasses. Normally, a type can refer to an instance of21* itself or an instance of any subtype. More concretely, if HTMLElement is used22* then the compiler must assume that it might still be e.g. HTMLScriptElement.23* With this, the type check knows that it couldn't be any special element.24*25* @constructor26* @extends {HTMLElement}27*/28goog.dom.HtmlElement = function() {};293031