google-closure-compiler
Version:
Check, compile, optimize and compress Javascript with Closure-Compiler
1,628 lines (1,400 loc) • 113 kB
JavaScript
/*
* Copyright 2025 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 CSS specification
* The whole file has been fully type annotated.
* http://www.w3.org/TR/DOM-Level-2-Style/css.html
* @externs
* @author stevey@google.com (Steve Yegge)
*
* TODO(nicksantos): When there are no more occurrences of w3c_range.js and
* gecko_dom.js being included directly in BUILD files, bug dbeam to split the
* bottom part of this file into a separate externs.
*/
/**
* @constructor
* @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheet
*/
function StyleSheet() {}
/**
* @type {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheet-type
*/
StyleSheet.prototype.type;
/**
* @type {boolean}
* @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheet-disabled
*/
StyleSheet.prototype.disabled;
/**
* @type {Node}
* @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheet-owner
*/
StyleSheet.prototype.ownerNode;
/**
* @type {StyleSheet}
* @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheet-parentStyleSheet
*/
StyleSheet.prototype.parentStyleSheet;
/**
* @type {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheet-href
*/
StyleSheet.prototype.href;
/**
* @type {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheet-title
*/
StyleSheet.prototype.title;
/**
* @type {MediaList}
* @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheet-media
*/
StyleSheet.prototype.media;
/**
* @constructor
* @implements {IArrayLike<!StyleSheet>}
* @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheetList
*/
function StyleSheetList() {}
/**
* @type {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheetList-length
*/
StyleSheetList.prototype.length;
/**
* @param {number} index
* @return {StyleSheet}
* @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheetList-item
*/
StyleSheetList.prototype.item = function(index) {};
/**
* @constructor
* @implements {IArrayLike<!MediaList>}
* @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-MediaList
*/
function MediaList() {}
/**
* @type {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-MediaList-mediaText
*/
MediaList.prototype.mediaText;
/**
* @type {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-MediaList-length
*/
MediaList.prototype.length;
/**
* @param {number} index
* @return {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-MediaList-item
*/
MediaList.prototype.item = function(index) {};
/**
* @param {string} medium
* @return {undefined}
*/
MediaList.prototype.appendMedium = function(medium) {};
/**
* @param {string} medium
* @return {undefined}
*/
MediaList.prototype.deleteMedium = function(medium) {};
/**
* @interface
* @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-LinkStyle
*/
function LinkStyle() {}
/**
* @type {StyleSheet}
* @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-LinkStyle-sheet
*/
LinkStyle.prototype.sheet;
/**
* @constructor
* @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheet-DocumentStyle
*/
function DocumentStyle() {}
/**
* @type {StyleSheetList}
* @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheet-DocumentStyle-styleSheets
*/
DocumentStyle.prototype.styleSheets;
/**
* Type of the `options` parameter for the `CSSStyleSheet` constructor.
*
* The actual property definitions are in wicg_constructable_stylesheets.js,
* which must be explicitly passed to the compiler in order to use them. This
* record is defined here since CSSStyleSheet cannot be redefined with its
* optional init parameter.
* @record
* @see https://wicg.github.io/construct-stylesheets/#dictdef-cssstylesheetinit
*/
function CSSStyleSheetInit() {}
/**
* @constructor
* @extends {StyleSheet}
* @param {CSSStyleSheetInit=} options
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleSheet
* @see https://wicg.github.io/construct-stylesheets/#dom-cssstylesheet-cssstylesheet
*/
function CSSStyleSheet(options) {}
/**
* @type {CSSRule}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleSheet-ownerRule
*/
CSSStyleSheet.prototype.ownerRule;
/**
* @type {CSSRuleList}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleSheet-cssRules
*/
CSSStyleSheet.prototype.cssRules;
/**
* @param {string} rule
* @param {number} index
* @return {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleSheet-insertRule
*/
CSSStyleSheet.prototype.insertRule = function(rule, index) {};
/**
* @param {number} index
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleSheet-deleteRule
* @return {undefined}
*/
CSSStyleSheet.prototype.deleteRule = function(index) {};
/**
* @constructor
* @implements {IArrayLike<!CSSRule>}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRuleList
*/
function CSSRuleList() {}
/**
* @type {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRuleList-length
*/
CSSRuleList.prototype.length;
/**
* @param {number} index
* @return {CSSRule}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRuleList-item
*/
CSSRuleList.prototype.item = function(index) {};
/**
* @constructor
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRule
*/
function CSSRule() {}
/**
* @type {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRule-ruleType
*/
CSSRule.prototype.type;
/**
* @type {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRule-cssText
*/
CSSRule.prototype.cssText;
/**
* @type {CSSStyleSheet}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRule-sheet
*/
CSSRule.prototype.parentStyleSheet;
/**
* @type {CSSRule}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRule-parentRule
*/
CSSRule.prototype.parentRule;
/**
* @type {CSSStyleDeclaration}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleRule
*/
CSSRule.prototype.style;
/**
* Indicates that the rule is a {@see CSSUnknownRule}.
* @const {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRule-ruleType
*/
CSSRule.UNKNOWN_RULE;
/**
* Indicates that the rule is a {@see CSSStyleRule}.
* @const {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRule-ruleType
*/
CSSRule.STYLE_RULE;
/**
* Indicates that the rule is a {@see CSSCharsetRule}.
* @const {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRule-ruleType
*/
CSSRule.CHARSET_RULE;
/**
* Indicates that the rule is a {@see CSSImportRule}.
* @const {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRule-ruleType
*/
CSSRule.IMPORT_RULE;
/**
* Indicates that the rule is a {@see CSSMediaRule}.
* @const {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRule-ruleType
*/
CSSRule.MEDIA_RULE;
/**
* Indicates that the rule is a {@see CSSFontFaceRule}.
* @const {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRule-ruleType
*/
CSSRule.FONT_FACE_RULE;
/**
* Indicates that the rule is a {@see CSSPageRule}.
* @const {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRule-ruleType
*/
CSSRule.PAGE_RULE;
/** @const {number} */ CSSRule.NAMESPACE_RULE;
/** @const {number} */ CSSRule.KEYFRAMES_RULE;
/** @const {number} */ CSSRule.KEYFRAME_RULE;
/** @const {number} */ CSSRule.SUPPORTS_RULE;
/** @const {number} */ CSSRule.COUNTER_STYLE_RULE;
/** @const {number} */ CSSRule.FONT_FEATURE_VALUES_RULE;
/**
* @constructor
* @extends {StylePropertyMapReadOnly}
* @see https://developer.mozilla.org/docs/Web/API/StylePropertyMap
*/
function StylePropertyMap() {}
/**
* @param {string} property
* @param {...(CSSStyleValue|string)} values
* @return {undefined}
* @see https://developer.mozilla.org/docs/Web/API/StylePropertyMap/append
*/
StylePropertyMap.prototype.append = function(property, values) {};
/**
* @return {undefined}
* @see https://developer.mozilla.org/docs/Web/API/StylePropertyMap/clear
*/
StylePropertyMap.prototype.clear = function() {};
/**
* @param {string} property
* @return {undefined}
* @see https://developer.mozilla.org/docs/Web/API/StylePropertyMap/delete
*/
StylePropertyMap.prototype.delete = function(property) {};
/**
* @param {string} property
* @param {...(CSSStyleValue|string)} values
* @return {undefined}
* @see https://developer.mozilla.org/docs/Web/API/StylePropertyMap/set
*/
StylePropertyMap.prototype.set = function(property, values) {};
/**
* @constructor
* @extends {CSSRule}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleRule
*/
function CSSStyleRule() {}
/**
* @type {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleRule-selectorText
*/
CSSStyleRule.prototype.selectorText;
/**
* @type {CSSStyleDeclaration}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleRule-style
*/
CSSStyleRule.prototype.style;
/**
* @type {!StylePropertyMap}
* @see https://developer.mozilla.org/docs/Web/API/CSSStyleRule/styleMap
*/
CSSStyleRule.prototype.styleMap;
/**
* @constructor
* @extends {CSSRule}
* @see https://www.w3.org/TR/css-conditional-3/#the-csssupportsrule-interface
*/
function CSSSupportsRule() {}
/**
* @type {string}
*/
CSSSupportsRule.prototype.conditionText;
/**
* @type {!CSSRuleList}
*/
CSSSupportsRule.prototype.cssRules;
/**
* @constructor
* @extends {CSSRule}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSMediaRule
*/
function CSSMediaRule() {}
/**
* @type {MediaList}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSMediaRule-mediaTypes
*/
CSSMediaRule.prototype.media;
/**
* @type {CSSRuleList}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSMediaRule-cssRules
*/
CSSMediaRule.prototype.cssRules;
/**
* @param {string} rule
* @param {number} index
* @return {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSMediaRule-insertRule
*/
CSSMediaRule.prototype.insertRule = function(rule, index) {};
/**
* @param {number} index
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSMediaRule-deleteRule
* @return {undefined}
*/
CSSMediaRule.prototype.deleteRule = function(index) {};
/**
* @constructor
* @extends {CSSRule}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSFontFaceRule
*/
function CSSFontFaceRule() {}
/**
* @type {CSSStyleDeclaration}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSFontFaceRule-style
*/
CSSFontFaceRule.prototype.style;
/**
* @constructor
* @extends {CSSRule}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPageRule
*/
function CSSPageRule() {}
/**
* @type {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPageRule-name
*/
CSSPageRule.prototype.selectorText;
/**
* @type {CSSStyleDeclaration}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPageRule-style
*/
CSSPageRule.prototype.style;
/**
* @constructor
* @extends {CSSRule}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSImportRule
*/
function CSSImportRule() {}
/**
* @type {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSImportRule-href
*/
CSSImportRule.prototype.href;
/**
* @type {MediaList}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSImportRule-media
*/
CSSImportRule.prototype.media;
/**
* @type {CSSStyleSheet}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSImportRule-styleSheet
*/
CSSImportRule.prototype.styleSheet;
/** @type {?string} */
CSSImportRule.prototype.layerName;
/** @type {?string} */
CSSImportRule.prototype.supportsText;
/**
* @constructor
* @extends {CSSRule}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSCharsetRule
*/
function CSSCharsetRule() {}
/**
* @type {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSCharsetRule-encoding
*/
CSSCharsetRule.prototype.encoding;
/**
* @constructor
* @extends {CSSRule}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSUnknownRule
*/
function CSSUnknownRule() {}
/**
* @constructor
* @extends {CSSRule}
*/
function CSSViewTransitionRule() {}
/** @type {string} */
CSSViewTransitionRule.prototype.navigation;
/** @type {!ReadonlyArray<string>} */
CSSViewTransitionRule.prototype.types;
/**
* @constructor
* @extends {CSSRule}
*/
function CSSGroupingRule() {}
/** @type {!CSSRuleList} */
CSSGroupingRule.prototype.cssRules;
/**
* @param {number} index
* @return {undefined}
*/
CSSGroupingRule.prototype.deleteRule = function(index) {}
/**
* @param {string} rule
* @param {number=} index
* @return {number}
*/
CSSGroupingRule.prototype.insertRule = function(rule, index) {}
/**
* @constructor
* @extends {CSSGroupingRule}
*/
function CSSConditionRule() {}
/** @type {string} */
CSSConditionRule.prototype.conditionText;
/**
* @constructor
* @extends {CSSConditionRule}
*/
function CSSContainerRule() {}
/** @type {string} */ CSSContainerRule.prototype.containerName;
/** @type {string} */ CSSContainerRule.prototype.containerQuery;
/**
* @constructor
* @extends {CSSRule}
*/
function CSSCounterStyleRule() {}
/** @type {string} */ CSSCounterStyleRule.prototype.additiveSymbols;
/** @type {string} */ CSSCounterStyleRule.prototype.fallback;
/** @type {string} */ CSSCounterStyleRule.prototype.name;
/** @type {string} */ CSSCounterStyleRule.prototype.negative;
/** @type {string} */ CSSCounterStyleRule.prototype.pad;
/** @type {string} */ CSSCounterStyleRule.prototype.prefix;
/** @type {string} */ CSSCounterStyleRule.prototype.range;
/** @type {string} */ CSSCounterStyleRule.prototype.speakAs;
/** @type {string} */ CSSCounterStyleRule.prototype.suffix;
/** @type {string} */ CSSCounterStyleRule.prototype.symbols;
/** @type {string} */ CSSCounterStyleRule.prototype.system;
/**
* @constructor
* @extends {CSSRule}
*/
function CSSFontFeatureValuesRule() {}
/** @type {string} */ CSSFontFeatureValuesRule.prototype.fontFamily;
/**
* @constructor
* @extends {CSSRule}
*/
function CSSFontPaletteValuesRule() {}
/** @type {string} */ CSSFontPaletteValuesRule.prototype.basePalette;
/** @type {string} */ CSSFontPaletteValuesRule.prototype.fontFamily;
/** @type {string} */ CSSFontPaletteValuesRule.prototype.name;
/** @type {string} */ CSSFontPaletteValuesRule.prototype.overrideColors;
/**
* @constructor
* @extends {CSSGroupingRule}
*/
function CSSLayerBlockRule() {}
/** @type {string} */ CSSLayerBlockRule.prototype.name;
/**
* @constructor
* @extends {CSSRule}
*/
function CSSLayerStatementRule() {}
/** @type {!ReadonlyArray<string>} */
CSSLayerStatementRule.prototype.nameList;
/**
* @constructor
* @extends {CSSRule}
*/
function CSSNamespaceRule() {}
/** @type {string} */ CSSNamespaceRule.prototype.namespaceURI;
/** @type {string} */ CSSNamespaceRule.prototype.prefix;
/**
* @constructor
* @extends {CSSRule}
*/
function CSSPropertyRule() {}
/** @type {boolean} */ CSSPropertyRule.prototype.inherits;
/** @type {?string} */ CSSPropertyRule.prototype.initialValue;
/** @type {string} */ CSSPropertyRule.prototype.name;
/** @type {string} */ CSSPropertyRule.prototype.syntax;
/**
* @constructor
* @extends {CSSGroupingRule}
*/
function CSSScopeRule() {}
/** @type {?string} */ CSSScopeRule.prototype.end;
/** @type {?string} */ CSSScopeRule.prototype.start;
/**
* @constructor
* @extends {CSSGroupingRule}
*/
function CSSStartingStyleRule() {}
/**
* @constructor
* @extends {CSSProperties}
* @implements {IObject<(string|number), string>}
* @implements {IArrayLike<string>}
* @implements {Iterable<string>}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration
*/
function CSSStyleDeclaration() {}
/** @override */
CSSStyleDeclaration.prototype[Symbol.iterator] = function() {};
/**
* @type {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration-cssText
*/
CSSStyleDeclaration.prototype.cssText;
/**
* @type {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration-length
*/
CSSStyleDeclaration.prototype.length;
/**
* @type {CSSRule}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration-parentRule
*/
CSSStyleDeclaration.prototype.parentRule;
/**
* @param {string} propertyName
* @return {CSSValue}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration-getPropertyCSSValue
*/
CSSStyleDeclaration.prototype.getPropertyCSSValue = function(propertyName) {};
/**
* @param {string} propertyName
* @return {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration-getPropertyPriority
*/
CSSStyleDeclaration.prototype.getPropertyPriority = function(propertyName) {};
/**
* @param {string} propertyName
* @return {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration-getPropertyValue
*/
CSSStyleDeclaration.prototype.getPropertyValue = function(propertyName) {};
/**
* @param {number} index
* @return {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration-item
*/
CSSStyleDeclaration.prototype.item = function(index) {};
/**
* @param {string} propertyName
* @return {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration-removeProperty
*/
CSSStyleDeclaration.prototype.removeProperty = function(propertyName) {};
/**
* @param {string} propertyName
* @param {string} value
* @param {string=} opt_priority
* @return {undefined}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration-setProperty
*/
CSSStyleDeclaration.prototype.setProperty = function(
propertyName, value, opt_priority) {};
/**
* @type {string}
* @see https://drafts.csswg.org/css-view-transitions/#propdef-view-transition-name
*/
CSSStyleDeclaration.prototype.viewTransitionName;
// IE-specific
/**
* @param {string} name
* @param {number=} opt_flags
* @return {string|number|boolean|null}
* @see http://msdn.microsoft.com/en-us/library/ms536429(VS.85).aspx
*/
CSSStyleDeclaration.prototype.getAttribute = function(name, opt_flags) {};
/**
* @param {string} name
* @return {string|number|boolean|null}
* @see http://msdn.microsoft.com/en-us/library/aa358797(VS.85).aspx
*/
CSSStyleDeclaration.prototype.getExpression = function(name) {};
/**
* @param {string} name
* @param {number=} opt_flags
* @return {boolean}
* @see http://msdn.microsoft.com/en-us/library/ms536696(VS.85).aspx
*/
CSSStyleDeclaration.prototype.removeAttribute = function(name, opt_flags) {};
/**
* @param {string} name
* @return {boolean}
* @see http://msdn.microsoft.com/en-us/library/aa358798(VS.85).aspx
*/
CSSStyleDeclaration.prototype.removeExpression = function(name) {};
/**
* @deprecated
* @param {string} name
* @param {*} value
* @param {number=} opt_flags
* @see http://msdn.microsoft.com/en-us/library/ms536739(VS.85).aspx
* @return {undefined}
*/
CSSStyleDeclaration.prototype.setAttribute = function(
name, value, opt_flags) {};
/**
* @param {string} name
* @param {string} expr
* @param {string=} opt_language
* @return {undefined}
* @see http://msdn.microsoft.com/en-us/library/ms531196(VS.85).aspx
*/
CSSStyleDeclaration.prototype.setExpression = function(
name, expr, opt_language) {};
/**
* Some properties are declared on CSSProperties. Here are the missing ones.
* @see https://developer.mozilla.org/docs/Web/CSS
*/
/** @type {string} */ CSSStyleDeclaration.prototype.accentColor;
/** @type {string} */ CSSStyleDeclaration.prototype.alignmentBaseline;
/** @type {string} */ CSSStyleDeclaration.prototype.animationComposition;
/** @type {string} */ CSSStyleDeclaration.prototype.appearance;
/** @type {string} */ CSSStyleDeclaration.prototype.backgroundClip;
/** @type {string} */ CSSStyleDeclaration.prototype.backgroundOrigin;
/** @type {string} */ CSSStyleDeclaration.prototype.baselineShift;
/** @type {string} */ CSSStyleDeclaration.prototype.baselineSource;
/** @type {string} */ CSSStyleDeclaration.prototype.borderBlock;
/** @type {string} */ CSSStyleDeclaration.prototype.borderBlockColor;
/** @type {string} */ CSSStyleDeclaration.prototype.borderBlockEnd;
/** @type {string} */ CSSStyleDeclaration.prototype.borderBlockEndColor;
/** @type {string} */ CSSStyleDeclaration.prototype.borderBlockEndStyle;
/** @type {string} */ CSSStyleDeclaration.prototype.borderBlockEndWidth;
/** @type {string} */ CSSStyleDeclaration.prototype.borderBlockStart;
/** @type {string} */ CSSStyleDeclaration.prototype.borderBlockStartColor;
/** @type {string} */ CSSStyleDeclaration.prototype.borderBlockStartStyle;
/** @type {string} */ CSSStyleDeclaration.prototype.borderBlockStartWidth;
/** @type {string} */ CSSStyleDeclaration.prototype.borderBlockStyle;
/** @type {string} */ CSSStyleDeclaration.prototype.borderBlockWidth;
/** @type {string} */ CSSStyleDeclaration.prototype.borderEndEndRadius;
/** @type {string} */ CSSStyleDeclaration.prototype.borderEndStartRadius;
/** @type {string} */ CSSStyleDeclaration.prototype.borderInline;
/** @type {string} */ CSSStyleDeclaration.prototype.borderInlineColor;
/** @type {string} */ CSSStyleDeclaration.prototype.borderInlineEnd;
/** @type {string} */ CSSStyleDeclaration.prototype.borderInlineEndColor;
/** @type {string} */ CSSStyleDeclaration.prototype.borderInlineEndStyle;
/** @type {string} */ CSSStyleDeclaration.prototype.borderInlineEndWidth;
/** @type {string} */ CSSStyleDeclaration.prototype.borderInlineStart;
/** @type {string} */ CSSStyleDeclaration.prototype.borderInlineStartColor;
/** @type {string} */ CSSStyleDeclaration.prototype.borderInlineStartStyle;
/** @type {string} */ CSSStyleDeclaration.prototype.borderInlineStartWidth;
/** @type {string} */ CSSStyleDeclaration.prototype.borderInlineStyle;
/** @type {string} */ CSSStyleDeclaration.prototype.borderInlineWidth;
/** @type {string} */ CSSStyleDeclaration.prototype.borderStartEndRadius;
/** @type {string} */ CSSStyleDeclaration.prototype.borderStartStartRadius;
/** @type {string} */ CSSStyleDeclaration.prototype.breakAfter;
/** @type {string} */ CSSStyleDeclaration.prototype.breakBefore;
/** @type {string} */ CSSStyleDeclaration.prototype.breakInside;
/** @type {string} */ CSSStyleDeclaration.prototype.caretColor;
/** @type {string} */ CSSStyleDeclaration.prototype.clipRule;
/** @type {string} */ CSSStyleDeclaration.prototype.colorInterpolation;
/** @type {string} */ CSSStyleDeclaration.prototype.colorInterpolationFilters;
/** @type {string} */ CSSStyleDeclaration.prototype.columnCount;
/** @type {string} */ CSSStyleDeclaration.prototype.columnFill;
/** @type {string} */ CSSStyleDeclaration.prototype.columnGap;
/** @type {string} */ CSSStyleDeclaration.prototype.columnRule;
/** @type {string} */ CSSStyleDeclaration.prototype.columnRuleColor;
/** @type {string} */ CSSStyleDeclaration.prototype.columnRuleStyle;
/** @type {string} */ CSSStyleDeclaration.prototype.columnRuleWidth;
/** @type {string} */ CSSStyleDeclaration.prototype.columnSpan;
/** @type {string} */ CSSStyleDeclaration.prototype.columnWidth;
/** @type {string} */ CSSStyleDeclaration.prototype.columns;
/** @type {string} */ CSSStyleDeclaration.prototype.containIntrinsicBlockSize;
/** @type {string} */ CSSStyleDeclaration.prototype.containIntrinsicHeight;
/** @type {string} */ CSSStyleDeclaration.prototype.containIntrinsicInlineSize;
/** @type {string} */ CSSStyleDeclaration.prototype.containIntrinsicSize;
/** @type {string} */ CSSStyleDeclaration.prototype.containIntrinsicWidth;
/** @type {string} */ CSSStyleDeclaration.prototype.container;
/** @type {string} */ CSSStyleDeclaration.prototype.counterSet;
/** @type {string} */ CSSStyleDeclaration.prototype.dominantBaseline;
/** @type {string} */ CSSStyleDeclaration.prototype.float;
/** @type {string} */ CSSStyleDeclaration.prototype.floodColor;
/** @type {string} */ CSSStyleDeclaration.prototype.floodOpacity;
/** @type {string} */ CSSStyleDeclaration.prototype.fontFeatureSettings;
/** @type {string} */ CSSStyleDeclaration.prototype.fontKerning;
/** @type {string} */ CSSStyleDeclaration.prototype.fontOpticalSizing;
/** @type {string} */ CSSStyleDeclaration.prototype.fontPalette;
/** @type {string} */ CSSStyleDeclaration.prototype.fontSynthesis;
/** @type {string} */ CSSStyleDeclaration.prototype.fontSynthesisSmallCaps;
/** @type {string} */ CSSStyleDeclaration.prototype.fontSynthesisStyle;
/** @type {string} */ CSSStyleDeclaration.prototype.fontSynthesisWeight;
/** @type {string} */ CSSStyleDeclaration.prototype.fontVariantAlternates;
/** @type {string} */ CSSStyleDeclaration.prototype.fontVariantCaps;
/** @type {string} */ CSSStyleDeclaration.prototype.fontVariantEastAsian;
/** @type {string} */ CSSStyleDeclaration.prototype.fontVariantLigatures;
/** @type {string} */ CSSStyleDeclaration.prototype.fontVariantNumeric;
/** @type {string} */ CSSStyleDeclaration.prototype.fontVariantPosition;
/** @type {string} */ CSSStyleDeclaration.prototype.fontVariationSettings;
/** @type {string} */ CSSStyleDeclaration.prototype.forcedColorAdjust;
/** @type {string} */ CSSStyleDeclaration.prototype.gridColumnGap;
/** @type {string} */ CSSStyleDeclaration.prototype.gridGap;
/** @type {string} */ CSSStyleDeclaration.prototype.gridRowGap;
/** @type {string} */ CSSStyleDeclaration.prototype.hyphenateCharacter;
/** @type {string} */ CSSStyleDeclaration.prototype.hyphens;
/** @type {string} */ CSSStyleDeclaration.prototype.hyphenateLimitChars;
/** @type {string} */ CSSStyleDeclaration.prototype.imageRendering;
/** @type {string} */ CSSStyleDeclaration.prototype.justifyItems;
/** @type {string} */ CSSStyleDeclaration.prototype.justifySelf;
/** @type {string} */ CSSStyleDeclaration.prototype.lightingColor;
/** @type {string} */ CSSStyleDeclaration.prototype.lineBreak;
/** @type {string} */ CSSStyleDeclaration.prototype.marginBlock;
/** @type {string} */ CSSStyleDeclaration.prototype.marginBlockEnd;
/** @type {string} */ CSSStyleDeclaration.prototype.marginBlockStart;
/** @type {string} */ CSSStyleDeclaration.prototype.marginInline;
/** @type {string} */ CSSStyleDeclaration.prototype.marginInlineEnd;
/** @type {string} */ CSSStyleDeclaration.prototype.marginInlineStart;
/** @type {string} */ CSSStyleDeclaration.prototype.marker;
/** @type {string} */ CSSStyleDeclaration.prototype.markerEnd;
/** @type {string} */ CSSStyleDeclaration.prototype.markerMid;
/** @type {string} */ CSSStyleDeclaration.prototype.markerStart;
/** @type {string} */ CSSStyleDeclaration.prototype.mask;
/** @type {string} */ CSSStyleDeclaration.prototype.maskClip;
/** @type {string} */ CSSStyleDeclaration.prototype.maskComposite;
/** @type {string} */ CSSStyleDeclaration.prototype.maskMode;
/** @type {string} */ CSSStyleDeclaration.prototype.maskOrigin;
/** @type {string} */ CSSStyleDeclaration.prototype.maskPosition;
/** @type {string} */ CSSStyleDeclaration.prototype.maskRepeat;
/** @type {string} */ CSSStyleDeclaration.prototype.maskSize;
/** @type {string} */ CSSStyleDeclaration.prototype.maskType;
/** @type {string} */ CSSStyleDeclaration.prototype.mathDepth;
/** @type {string} */ CSSStyleDeclaration.prototype.mathStyle;
/** @type {string} */ CSSStyleDeclaration.prototype.maxBlockSize;
/** @type {string} */ CSSStyleDeclaration.prototype.maxInlineSize;
/** @type {string} */ CSSStyleDeclaration.prototype.minBlockSize;
/** @type {string} */ CSSStyleDeclaration.prototype.minInlineSize;
/** @type {string} */ CSSStyleDeclaration.prototype.offsetAnchor;
/** @type {string} */ CSSStyleDeclaration.prototype.offsetDistance;
/** @type {string} */ CSSStyleDeclaration.prototype.offsetPath;
/** @type {string} */ CSSStyleDeclaration.prototype.offsetPosition;
/** @type {string} */ CSSStyleDeclaration.prototype.offsetRotate;
/** @type {string} */ CSSStyleDeclaration.prototype.overflowAnchor;
/** @type {string} */ CSSStyleDeclaration.prototype.overflowBlock;
/** @type {string} */ CSSStyleDeclaration.prototype.overflowClipMargin;
/** @type {string} */ CSSStyleDeclaration.prototype.overflowInline;
/** @type {string} */ CSSStyleDeclaration.prototype.overscrollBehaviorBlock;
/** @type {string} */ CSSStyleDeclaration.prototype.overscrollBehaviorInline;
/** @type {string} */ CSSStyleDeclaration.prototype.overscrollBehaviorX;
/** @type {string} */ CSSStyleDeclaration.prototype.overscrollBehaviorY;
/** @type {string} */ CSSStyleDeclaration.prototype.paddingBlock;
/** @type {string} */ CSSStyleDeclaration.prototype.paddingBlockEnd;
/** @type {string} */ CSSStyleDeclaration.prototype.paddingBlockStart;
/** @type {string} */ CSSStyleDeclaration.prototype.paddingInline;
/** @type {string} */ CSSStyleDeclaration.prototype.paddingInlineEnd;
/** @type {string} */ CSSStyleDeclaration.prototype.paddingInlineStart;
/** @type {string} */ CSSStyleDeclaration.prototype.paintOrder;
/** @type {string} */ CSSStyleDeclaration.prototype.placeContent;
/** @type {string} */ CSSStyleDeclaration.prototype.placeItems;
/** @type {string} */ CSSStyleDeclaration.prototype.placeSelf;
/** @type {string} */ CSSStyleDeclaration.prototype.printColorAdjust;
/** @type {string} */ CSSStyleDeclaration.prototype.rowGap;
/** @type {string} */ CSSStyleDeclaration.prototype.rubyAlign;
/** @type {string} */ CSSStyleDeclaration.prototype.rubyPosition;
/** @type {string} */ CSSStyleDeclaration.prototype.scrollBehavior;
/** @type {string} */ CSSStyleDeclaration.prototype.scrollMargin;
/** @type {string} */ CSSStyleDeclaration.prototype.scrollMarginBlock;
/** @type {string} */ CSSStyleDeclaration.prototype.scrollMarginBlockEnd;
/** @type {string} */ CSSStyleDeclaration.prototype.scrollMarginBlockStart;
/** @type {string} */ CSSStyleDeclaration.prototype.scrollMarginBottom;
/** @type {string} */ CSSStyleDeclaration.prototype.scrollMarginInline;
/** @type {string} */ CSSStyleDeclaration.prototype.scrollMarginInlineEnd;
/** @type {string} */ CSSStyleDeclaration.prototype.scrollMarginInlineStart;
/** @type {string} */ CSSStyleDeclaration.prototype.scrollMarginLeft;
/** @type {string} */ CSSStyleDeclaration.prototype.scrollMarginRight;
/** @type {string} */ CSSStyleDeclaration.prototype.scrollMarginTop;
/** @type {string} */ CSSStyleDeclaration.prototype.scrollSnapAlign;
/** @type {string} */ CSSStyleDeclaration.prototype.scrollSnapStop;
/** @type {string} */ CSSStyleDeclaration.prototype.scrollSnapType;
/** @type {string} */ CSSStyleDeclaration.prototype.scrollbarColor;
/** @type {string} */ CSSStyleDeclaration.prototype.scrollbarGutter;
/** @type {string} */ CSSStyleDeclaration.prototype.scrollbarWidth;
/** @type {string} */ CSSStyleDeclaration.prototype.shapeImageThreshold;
/** @type {string} */ CSSStyleDeclaration.prototype.shapeMargin;
/** @type {string} */ CSSStyleDeclaration.prototype.shapeOutside;
/** @type {string} */ CSSStyleDeclaration.prototype.shapeRendering;
/** @type {string} */ CSSStyleDeclaration.prototype.stopColor;
/** @type {string} */ CSSStyleDeclaration.prototype.stopOpacity;
/** @type {string} */ CSSStyleDeclaration.prototype.tabSize;
/** @type {string} */ CSSStyleDeclaration.prototype.textAlignLast;
/** @type {string} */ CSSStyleDeclaration.prototype.textAnchor;
/** @type {string} */ CSSStyleDeclaration.prototype.textBox;
/** @type {string} */ CSSStyleDeclaration.prototype.textBoxEdge;
/** @type {string} */ CSSStyleDeclaration.prototype.textBoxTrim;
/** @type {string} */ CSSStyleDeclaration.prototype.textCombineUpright;
/** @type {string} */ CSSStyleDeclaration.prototype.textDecorationSkipInk;
/** @type {string} */ CSSStyleDeclaration.prototype.textDecorationThickness;
/** @type {string} */ CSSStyleDeclaration.prototype.textEmphasis;
/** @type {string} */ CSSStyleDeclaration.prototype.textEmphasisColor;
/** @type {string} */ CSSStyleDeclaration.prototype.textEmphasisPosition;
/** @type {string} */ CSSStyleDeclaration.prototype.textEmphasisStyle;
/** @type {string} */ CSSStyleDeclaration.prototype.textOrientation;
/** @type {string} */ CSSStyleDeclaration.prototype.textRendering;
/** @type {string} */ CSSStyleDeclaration.prototype.textUnderlineOffset;
/** @type {string} */ CSSStyleDeclaration.prototype.textUnderlinePosition;
/** @type {string} */ CSSStyleDeclaration.prototype.textWrap;
/** @type {string} */ CSSStyleDeclaration.prototype.textWrapMode;
/** @type {string} */ CSSStyleDeclaration.prototype.textWrapStyle;
/** @type {string} */ CSSStyleDeclaration.prototype.transformBox;
/** @type {string} */ CSSStyleDeclaration.prototype.transitionBehavior;
/** @type {string} */ CSSStyleDeclaration.prototype.vectorEffect;
/** @type {string} */ CSSStyleDeclaration.prototype.whiteSpaceCollapse;
/** @type {string} */ CSSStyleDeclaration.prototype.wordBreak;
/**
* @constructor
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSValue
*/
function CSSValue() {}
/**
* @type {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSValue-cssText
*/
CSSValue.prototype.cssText;
/**
* @type {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSValue-cssValueType
*/
CSSValue.prototype.cssValueType;
/**
* @const {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSValue-types
*/
CSSValue.CSS_INHERIT;
/**
* @const {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSValue-types
*/
CSSValue.CSS_PRIMITIVE_VALUE;
/**
* @const {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSValue-types
*/
CSSValue.CSS_VALUE_LIST;
/**
* @const {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSValue-types
*/
CSSValue.CSS_CUSTOM;
/**
* @constructor
* @extends {CSSValue}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
*/
function CSSPrimitiveValue() {}
/**
* @type {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
*/
CSSPrimitiveValue.prototype.primitiveType;
/**
* @const {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
*/
CSSPrimitiveValue.CSS_UNKNOWN;
/**
* @const {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
*/
CSSPrimitiveValue.CSS_NUMBER;
/**
* @const {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
*/
CSSPrimitiveValue.CSS_PERCENTAGE;
/**
* @const {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
*/
CSSPrimitiveValue.CSS_EMS;
/**
* @const {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
*/
CSSPrimitiveValue.CSS_EXS;
/**
* @const {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
*/
CSSPrimitiveValue.CSS_PX;
/**
* @const {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
*/
CSSPrimitiveValue.CSS_CM;
/**
* @const {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
*/
CSSPrimitiveValue.CSS_MM;
/**
* @const {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
*/
CSSPrimitiveValue.CSS_IN;
/**
* @const {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
*/
CSSPrimitiveValue.CSS_PT;
/**
* @const {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
*/
CSSPrimitiveValue.CSS_PC;
/**
* @const {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
*/
CSSPrimitiveValue.CSS_DEG;
/**
* @const {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
*/
CSSPrimitiveValue.CSS_RAD;
/**
* @const {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
*/
CSSPrimitiveValue.CSS_GRAD;
/**
* @const {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
*/
CSSPrimitiveValue.CSS_MS;
/**
* @const {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
*/
CSSPrimitiveValue.CSS_S;
/**
* @const {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
*/
CSSPrimitiveValue.CSS_HZ;
/**
* @const {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
*/
CSSPrimitiveValue.CSS_KHZ;
/**
* @const {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
*/
CSSPrimitiveValue.CSS_DIMENSION;
/**
* @const {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
*/
CSSPrimitiveValue.CSS_STRING;
/**
* @const {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
*/
CSSPrimitiveValue.CSS_URI;
/**
* @const {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
*/
CSSPrimitiveValue.CSS_IDENT;
/**
* @const {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
*/
CSSPrimitiveValue.CSS_ATTR;
/**
* @const {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
*/
CSSPrimitiveValue.CSS_COUNTER;
/**
* @const {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
*/
CSSPrimitiveValue.CSS_RECT;
/**
* @const {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
*/
CSSPrimitiveValue.CSS_RGBCOLOR;
/**
* @return {Counter}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue-getCounterValue
* @throws DOMException {@see DomException.INVALID_ACCESS_ERR}
*/
CSSPrimitiveValue.prototype.getCounterValue = function() {};
/**
* @param {number} unitType
* @return {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue-getFloatValue
* @throws DOMException {@see DomException.INVALID_ACCESS_ERR}
*/
CSSPrimitiveValue.prototype.getFloatValue = function(unitType) {};
/**
* @return {RGBColor}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue-getRGBColorValue
* @throws DOMException {@see DomException.INVALID_ACCESS_ERR}
*/
CSSPrimitiveValue.prototype.getRGBColorValue = function() {};
/**
* @return {Rect}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue-getRectValue
* @throws DOMException {@see DomException.INVALID_ACCESS_ERR}
*/
CSSPrimitiveValue.prototype.getRectValue = function() {};
/**
* @return {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue-getStringValue
* @throws DOMException {@see DomException.INVALID_ACCESS_ERR}
*/
CSSPrimitiveValue.prototype.getStringValue = function() {};
/**
* @param {number} unitType
* @param {number} floatValue
* @return {undefined}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue-setFloatValue
* @throws DOMException {@see DomException.INVALID_ACCESS_ERR},
* {@see DomException.NO_MODIFICATION_ALLOWED_ERR}
*/
CSSPrimitiveValue.prototype.setFloatValue = function(unitType, floatValue) {};
/**
* @param {number} stringType
* @param {string} stringValue
* @return {undefined}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue-setStringValue
* @throws DOMException {@see DomException.INVALID_ACCESS_ERR},
* {@see DomException.NO_MODIFICATION_ALLOWED_ERR}
*/
CSSPrimitiveValue.prototype.setStringValue = function(
stringType, stringValue) {};
/**
* @constructor
* @extends {CSSValue}
* @implements {IArrayLike<!CSSValue>}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSValueList
*/
function CSSValueList() {}
/**
* @type {number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSValueList-length
*/
CSSValueList.prototype.length;
/**
* @param {number} index
* @return {CSSValue}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSValueList-item
*/
CSSValueList.prototype.item = function(index) {};
/**
* @constructor
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-RGBColor
*/
function RGBColor() {}
/**
* @type {CSSPrimitiveValue}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-RGBColor-red
*/
RGBColor.prototype.red;
/**
* @type {CSSPrimitiveValue}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-RGBColor-green
*/
RGBColor.prototype.green;
/**
* @type {CSSPrimitiveValue}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-RGBColor-blue
*/
RGBColor.prototype.blue;
/**
* @constructor
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-Rect
*/
function Rect() {}
/**
* @type {CSSPrimitiveValue}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-Rect-top
*/
Rect.prototype.top;
/**
* @type {CSSPrimitiveValue}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-Rect-right
*/
Rect.prototype.right;
/**
* @type {CSSPrimitiveValue}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-Rect-bottom
*/
Rect.prototype.bottom;
/**
* @type {CSSPrimitiveValue}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-Rect-left
*/
Rect.prototype.left;
/**
* @constructor
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-Counter
*/
function Counter() {}
/**
* @type {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-Counter-identifier
*/
Counter.prototype.identifier;
/**
* @type {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-Counter-listStyle
*/
Counter.prototype.listStyle;
/**
* @type {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-Counter-separator
*/
Counter.prototype.separator;
/**
* @interface
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-ViewCSS
*/
function ViewCSS() {}
/**
* @param {Element} elt
* @param {?string=} opt_pseudoElt This argument is required according to the
* CSS2 specification, but optional in all major browsers. See the note at
* https://developer.mozilla.org/en-US/docs/Web/API/Window.getComputedStyle
* @return {?CSSStyleDeclaration}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSview-getComputedStyle
* @see https://bugzilla.mozilla.org/show_bug.cgi?id=548397
*/
ViewCSS.prototype.getComputedStyle = function(elt, opt_pseudoElt) {};
/**
* @constructor
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-DocumentCSS
*/
function DocumentCSS() {}
/**
* @param {Element} elt
* @param {string} pseudoElt
* @return {CSSStyleDeclaration}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-DocumentCSS-getOverrideStyle
*/
DocumentCSS.prototype.getOverrideStyle = function(elt, pseudoElt) {};
/**
* @constructor
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-DOMImplementationCSS
*/
function DOMImplementationCSS() {}
/**
* @param {string} title
* @param {string} media
* @return {CSSStyleSheet}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-DOMImplementationCSS-createCSSStyleSheet
* @throws DOMException {@see DomException.SYNTAX_ERR}
*/
DOMImplementationCSS.prototype.createCSSStyleSheet = function(title, media) {};
/**
* @record
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-ElementCSSInlineStyle
*/
function ElementCSSInlineStyle() {}
/**
* @type {CSSStyleDeclaration}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-ElementCSSInlineStyle-style
*/
ElementCSSInlineStyle.prototype.style;
/**
* @constructor
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties
*/
function CSSProperties() {}
// CSS 2 properties
/**
* @type {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-azimuth
*/
CSSProperties.prototype.azimuth;
/**
* @type {string}
* @see https://drafts.fxtf.org/filter-effects-2/#BackdropFilterProperty
*/
CSSProperties.prototype.backdropFilter;
/**
* @type {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-background
*/
CSSProperties.prototype.background;
/**
* @type {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-backgroundAttachment
*/
CSSProperties.prototype.backgroundAttachment;
/**
* @type {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-backgroundColor
*/
CSSProperties.prototype.backgroundColor;
/**
* @type {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-backgroundImage
*/
CSSProperties.prototype.backgroundImage;
/**
* @type {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-backgroundPosition
*/
CSSProperties.prototype.backgroundPosition;
/**
* @type {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-backgroundRepeat
*/
CSSProperties.prototype.backgroundRepeat;
/**
* @type {string}
* @see http://www.w3.org/TR/css3-background/#the-background-size
*/
CSSProperties.prototype.backgroundSize;
/**
* @implicitCast
* @type {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-border
*/
CSSProperties.prototype.border;
/**
* @type {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderCollapse
*/
CSSProperties.prototype.borderCollapse;
/**
* @type {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderColor
*/
CSSProperties.prototype.borderColor;
/**
* @type {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderSpacing
*/
CSSProperties.prototype.borderSpacing;
/**
* @type {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue-borderStyle
*/
CSSProperties.prototype.borderStyle;
/**
* @type {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderTop
*/
CSSProperties.prototype.borderTop;
/**
* @type {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderRight
*/
CSSProperties.prototype.borderRight;
/**
* @type {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderBottom
*/
CSSProperties.prototype.borderBottom;
/**
* @type {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderLeft
*/
CSSProperties.prototype.borderLeft;
/**
* @type {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderTopColor
*/
CSSProperties.prototype.borderTopColor;
/**
* @type {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderRightColor
*/
CSSProperties.prototype.borderRightColor;
/**
* @type {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderBottomColor
*/
CSSProperties.prototype.borderBottomColor;
/**
* @type {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderLeftColor
*/
CSSProperties.prototype.borderLeftColor;
/**
* @type {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderTopStyle
*/
CSSProperties.prototype.borderTopStyle;
/**
* @type {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderRightStyle
*/
CSSProperties.prototype.borderRightStyle;
/**
* @type {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderBottomStyle
*/
CSSProperties.prototype.borderBottomStyle;
/**
* @type {string}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderLeftStyle
*/
CSSProperties.prototype.borderLeftStyle;
/**
* @type {string|number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderTopWidth
*/
CSSProperties.prototype.borderTopWidth;
/**
* @type {string|number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderRightWidth
*/
CSSProperties.prototype.borderRightWidth;
/**
* @type {string|number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderBottomWidth
*/
CSSProperties.prototype.borderBottomWidth;
/**
* @type {string|number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderLeftWidth
*/
CSSProperties.prototype.borderLeftWidth;
/**
* @type {string|number}
* @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderWidth
*/
CSSProperties.prototype.borderWidth;
/**
* @type {string|number}
* @see http://www.w3.org/TR/css3-background/#the-border-radius
*/
CSSProperties.prototype.borderRadius;
/**
* @type {string|number}
* @see http://www.w3.org/TR/css3-background/#the-border-radius
*/
CSSProperties.prototype.borderBottomLeftRadius;
/**
* @type {string|number}
* @see http://www.w3.org/TR/css3-background/#the-border-radius
*/
CSSProperties.prototype.borderBottomRightRadius;
/**
* @type {string|number}
* @see http://www.w3.org/T