2 * Copyright 2008 The Closure Compiler Authors
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 * @fileoverview Definitions for W3C's CSS specification
19 * The whole file has been fully type annotated.
20 * http://www.w3.org/TR/DOM-Level-2-Style/css.html
22 * @author stevey@google.com (Steve Yegge)
24 * TODO(nicksantos): When there are no more occurrences of w3c_range.js and
25 * gecko_dom.js being included directly in BUILD files, bug dbeam to split the
26 * bottom part of this file into a separate externs.
31 * @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheet
33 function StyleSheet() {}
37 * @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheet-type
39 StyleSheet.prototype.type;
43 * @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheet-disabled
45 StyleSheet.prototype.disabled;
49 * @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheet-owner
51 StyleSheet.prototype.ownerNode;
55 * @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheet-parentStyleSheet
57 StyleSheet.prototype.parentStyleSheet;
61 * @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheet-href
63 StyleSheet.prototype.href;
67 * @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheet-title
69 StyleSheet.prototype.title;
73 * @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheet-media
75 StyleSheet.prototype.media;
79 * @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheetList
81 function StyleSheetList() {}
85 * @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheetList-length
87 StyleSheetList.prototype.length;
90 * @param {number} index
91 * @return {StyleSheet}
92 * @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheetList-item
94 StyleSheetList.prototype.item = function(index) {};
98 * @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-MediaList
100 function MediaList() {}
104 * @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-MediaList-mediaText
106 MediaList.prototype.mediaText;
110 * @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-MediaList-length
112 MediaList.prototype.length;
115 * @param {number} index
117 * @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-MediaList-item
119 MediaList.prototype.item = function(index) {};
123 * @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-LinkStyle
125 function LinkStyle() {}
129 * @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-LinkStyle-sheet
131 LinkStyle.prototype.sheet;
135 * @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheet-DocumentStyle
137 function DocumentStyle() {}
140 * @type {StyleSheetList}
141 * @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheet-DocumentStyle-styleSheets
143 DocumentStyle.prototype.styleSheets;
147 * @extends {StyleSheet}
148 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleSheet
150 function CSSStyleSheet() {}
154 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleSheet-ownerRule
156 CSSStyleSheet.prototype.ownerRule;
159 * @type {CSSRuleList}
160 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleSheet-cssRules
162 CSSStyleSheet.prototype.cssRules;
165 * @param {string} rule
166 * @param {number} index
168 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleSheet-insertRule
170 CSSStyleSheet.prototype.insertRule = function(rule, index) {};
173 * @param {number} index
174 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleSheet-deleteRule
176 CSSStyleSheet.prototype.deleteRule = function(index) {};
180 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRuleList
182 function CSSRuleList() {}
186 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRuleList-length
188 CSSRuleList.prototype.length;
191 * @param {number} index
193 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRuleList-item
195 CSSRuleList.prototype.item = function(index) {};
199 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRule
201 function CSSRule() {}
205 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRule-ruleType
207 CSSRule.prototype.type;
211 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRule-cssText
213 CSSRule.prototype.cssText;
216 * @type {CSSStyleSheet}
217 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRule-sheet
219 CSSRule.prototype.parentStyleSheet;
223 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRule-parentRule
225 CSSRule.prototype.parentRule;
228 * @type {CSSStyleDeclaration}
229 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleRule
231 CSSRule.prototype.style;
234 * Indicates that the rule is a {@see CSSUnknownRule}.
236 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRule-ruleType
238 CSSRule.UNKNOWN_RULE = 0;
241 * Indicates that the rule is a {@see CSSStyleRule}.
243 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRule-ruleType
245 CSSRule.STYLE_RULE = 1;
248 * Indicates that the rule is a {@see CSSCharsetRule}.
250 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRule-ruleType
252 CSSRule.CHARSET_RULE = 2;
255 * Indicates that the rule is a {@see CSSImportRule}.
257 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRule-ruleType
259 CSSRule.IMPORT_RULE = 3;
262 * Indicates that the rule is a {@see CSSMediaRule}.
264 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRule-ruleType
266 CSSRule.MEDIA_RULE = 4;
269 * Indicates that the rule is a {@see CSSFontFaceRule}.
271 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRule-ruleType
273 CSSRule.FONT_FACE_RULE = 5;
276 * Indicates that the rule is a {@see CSSPageRule}.
278 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRule-ruleType
280 CSSRule.PAGE_RULE = 6;
285 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleRule
287 function CSSStyleRule() {}
291 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleRule-selectorText
293 CSSStyleRule.prototype.selectorText;
296 * @type {CSSStyleDeclaration}
297 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleRule-style
299 CSSStyleRule.prototype.style;
304 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSMediaRule
306 function CSSMediaRule() {}
310 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSMediaRule-mediaTypes
312 CSSMediaRule.prototype.media;
315 * @type {CSSRuleList}
316 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSMediaRule-cssRules
318 CSSMediaRule.prototype.cssRules;
321 * @param {string} rule
322 * @param {number} index
324 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSMediaRule-insertRule
326 CSSMediaRule.prototype.insertRule = function(rule, index) {};
329 * @param {number} index
330 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSMediaRule-deleteRule
332 CSSMediaRule.prototype.deleteRule = function(index) {};
337 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSFontFaceRule
339 function CSSFontFaceRule() {}
342 * @type {CSSStyleDeclaration}
343 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSFontFaceRule-style
345 CSSFontFaceRule.prototype.style;
350 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPageRule
352 function CSSPageRule() {}
356 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPageRule-name
358 CSSPageRule.prototype.selectorText;
361 * @type {CSSStyleDeclaration}
362 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPageRule-style
364 CSSPageRule.prototype.style;
369 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSImportRule
371 function CSSImportRule() {}
375 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSImportRule-href
377 CSSImportRule.prototype.href;
381 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSImportRule-media
383 CSSImportRule.prototype.media;
386 * @type {CSSStyleSheet}
387 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSImportRule-styleSheet
389 CSSImportRule.prototype.styleSheet;
394 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSCharsetRule
396 function CSSCharsetRule() {}
400 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSCharsetRule-encoding
402 CSSCharsetRule.prototype.encoding;
407 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSUnknownRule
409 function CSSUnknownRule() {}
413 * @extends {CSSProperties}
414 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration
416 function CSSStyleDeclaration() {}
420 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration-cssText
422 CSSStyleDeclaration.prototype.cssText;
426 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration-length
428 CSSStyleDeclaration.prototype.length;
432 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration-parentRule
434 CSSStyleDeclaration.prototype.parentRule;
437 * @param {string} propertyName
439 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration-getPropertyCSSValue
441 CSSStyleDeclaration.prototype.getPropertyCSSValue = function(propertyName) {};
444 * @param {string} propertyName
446 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration-getPropertyPriority
448 CSSStyleDeclaration.prototype.getPropertyPriority = function(propertyName) {};
451 * @param {string} propertyName
453 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration-getPropertyValue
455 CSSStyleDeclaration.prototype.getPropertyValue = function(propertyName) {};
458 * @param {number} index
460 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration-item
462 CSSStyleDeclaration.prototype.item = function(index) {};
465 * @param {string} propertyName
467 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration-removeProperty
469 CSSStyleDeclaration.prototype.removeProperty = function(propertyName) {};
472 * @param {string} propertyName
473 * @param {string} value
474 * @param {string=} opt_priority
475 * @return {undefined}
476 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration-setProperty
478 CSSStyleDeclaration.prototype.setProperty = function(propertyName, value, opt_priority) {};
483 * @param {string} name
484 * @param {number=} opt_flags
485 * @return {string|number|boolean|null}
486 * @see http://msdn.microsoft.com/en-us/library/ms536429(VS.85).aspx
488 CSSStyleDeclaration.prototype.getAttribute = function(name, opt_flags) {};
491 * @param {string} name
492 * @return {string|number|boolean|null}
493 * @see http://msdn.microsoft.com/en-us/library/aa358797(VS.85).aspx
495 CSSStyleDeclaration.prototype.getExpression = function(name) {};
498 * @param {string} name
499 * @param {number=} opt_flags
501 * @see http://msdn.microsoft.com/en-us/library/ms536696(VS.85).aspx
503 CSSStyleDeclaration.prototype.removeAttribute =
504 function(name, opt_flags) {};
507 * @param {string} name
509 * @see http://msdn.microsoft.com/en-us/library/aa358798(VS.85).aspx
511 CSSStyleDeclaration.prototype.removeExpression = function(name) {};
514 * @param {string} name
516 * @param {number=} opt_flags
517 * @see http://msdn.microsoft.com/en-us/library/ms536739(VS.85).aspx
519 CSSStyleDeclaration.prototype.setAttribute = function(name, value, opt_flags) {};
522 * @param {string} name
523 * @param {string} expr
524 * @param {string=} opt_language
525 * @return {undefined}
526 * @see http://msdn.microsoft.com/en-us/library/ms531196(VS.85).aspx
528 CSSStyleDeclaration.prototype.setExpression =
529 function(name, expr, opt_language) {};
534 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSValue
536 function CSSValue() {}
540 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSValue-cssText
542 CSSValue.prototype.cssText;
546 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSValue-cssValueType
548 CSSValue.prototype.cssValueType;
552 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSValue-types
554 CSSValue.CSS_INHERIT = 0;
558 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSValue-types
560 CSSValue.CSS_PRIMITIVE_VALUE = 1;
564 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSValue-types
566 CSSValue.CSS_VALUE_LIST = 2;
570 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSValue-types
572 CSSValue.CSS_CUSTOM = 3;
576 * @extends {CSSValue}
577 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
579 function CSSPrimitiveValue() {}
583 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
585 CSSPrimitiveValue.prototype.primitiveType;
589 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
591 CSSPrimitiveValue.CSS_UNKNOWN = 0;
595 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
597 CSSPrimitiveValue.CSS_NUMBER = 1;
601 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
603 CSSPrimitiveValue.CSS_PERCENTAGE = 2;
607 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
609 CSSPrimitiveValue.CSS_EMS = 3;
613 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
615 CSSPrimitiveValue.CSS_EXS = 4;
619 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
621 CSSPrimitiveValue.CSS_PX = 5;
625 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
627 CSSPrimitiveValue.CSS_CM = 6;
631 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
633 CSSPrimitiveValue.CSS_MM = 7;
637 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
639 CSSPrimitiveValue.CSS_IN = 8;
643 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
645 CSSPrimitiveValue.CSS_PT = 9;
649 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
651 CSSPrimitiveValue.CSS_PC = 10;
655 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
657 CSSPrimitiveValue.CSS_DEG = 11;
661 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
663 CSSPrimitiveValue.CSS_RAD = 12;
667 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
669 CSSPrimitiveValue.CSS_GRAD = 13;
673 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
675 CSSPrimitiveValue.CSS_MS = 14;
679 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
681 CSSPrimitiveValue.CSS_S = 15;
685 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
687 CSSPrimitiveValue.CSS_HZ = 16;
691 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
693 CSSPrimitiveValue.CSS_KHZ = 17;
697 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
699 CSSPrimitiveValue.CSS_DIMENSION = 18;
703 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
705 CSSPrimitiveValue.CSS_STRING = 19;
709 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
711 CSSPrimitiveValue.CSS_URI = 20;
715 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
717 CSSPrimitiveValue.CSS_IDENT = 21;
721 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
723 CSSPrimitiveValue.CSS_ATTR = 22;
727 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
729 CSSPrimitiveValue.CSS_COUNTER = 23;
733 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
735 CSSPrimitiveValue.CSS_RECT = 24;
739 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
741 CSSPrimitiveValue.CSS_RGBCOLOR = 25;
745 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue-getCounterValue
746 * @throws DOMException {@see DomException.INVALID_ACCESS_ERR}
748 CSSPrimitiveValue.prototype.getCounterValue = function() {};
751 * @param {number} unitType
753 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue-getFloatValue
754 * @throws DOMException {@see DomException.INVALID_ACCESS_ERR}
756 CSSPrimitiveValue.prototype.getFloatValue = function(unitType) {};
760 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue-getRGBColorValue
761 * @throws DOMException {@see DomException.INVALID_ACCESS_ERR}
763 CSSPrimitiveValue.prototype.getRGBColorValue = function() {};
767 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue-getRectValue
768 * @throws DOMException {@see DomException.INVALID_ACCESS_ERR}
770 CSSPrimitiveValue.prototype.getRectValue = function() {};
774 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue-getStringValue
775 * @throws DOMException {@see DomException.INVALID_ACCESS_ERR}
777 CSSPrimitiveValue.prototype.getStringValue = function() {};
780 * @param {number} unitType
781 * @param {number} floatValue
782 * @return {undefined}
783 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue-setFloatValue
784 * @throws DOMException {@see DomException.INVALID_ACCESS_ERR},
785 * {@see DomException.NO_MODIFICATION_ALLOWED_ERR}
787 CSSPrimitiveValue.prototype.setFloatValue = function(unitType, floatValue) {};
790 * @param {number} stringType
791 * @param {string} stringValue
792 * @return {undefined}
793 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue-setStringValue
794 * @throws DOMException {@see DomException.INVALID_ACCESS_ERR},
795 * {@see DomException.NO_MODIFICATION_ALLOWED_ERR}
797 CSSPrimitiveValue.prototype.setStringValue = function(stringType, stringValue) {};
801 * @extends {CSSValue}
802 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSValueList
804 function CSSValueList() {}
808 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSValueList-length
810 CSSValueList.prototype.length;
813 * @param {number} index
815 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSValueList-item
817 CSSValueList.prototype.item = function(index) {};
821 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-RGBColor
823 function RGBColor() {}
826 * @type {CSSPrimitiveValue}
827 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-RGBColor-red
829 RGBColor.prototype.red;
832 * @type {CSSPrimitiveValue}
833 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-RGBColor-green
835 RGBColor.prototype.green;
838 * @type {CSSPrimitiveValue}
839 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-RGBColor-blue
841 RGBColor.prototype.blue;
845 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-Rect
850 * @type {CSSPrimitiveValue}
851 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-Rect-top
856 * @type {CSSPrimitiveValue}
857 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-Rect-right
859 Rect.prototype.right;
862 * @type {CSSPrimitiveValue}
863 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-Rect-bottom
865 Rect.prototype.bottom;
868 * @type {CSSPrimitiveValue}
869 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-Rect-left
875 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-Counter
877 function Counter() {}
881 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-Counter-identifier
883 Counter.prototype.identifier;
887 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-Counter-listStyle
889 Counter.prototype.listStyle;
893 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-Counter-separator
895 Counter.prototype.separator;
899 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-ViewCSS
901 function ViewCSS() {}
904 * @param {Element} elt
905 * @param {?string=} opt_pseudoElt This argument is required according to the
906 * CSS2 specification, but optional in all major browsers. See the note at
907 * https://developer.mozilla.org/en-US/docs/Web/API/Window.getComputedStyle
908 * @return {CSSStyleDeclaration}
909 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSview-getComputedStyle
911 ViewCSS.prototype.getComputedStyle = function(elt, opt_pseudoElt) {};
915 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-DocumentCSS
917 function DocumentCSS() {}
920 * @param {Element} elt
921 * @param {string} pseudoElt
922 * @return {CSSStyleDeclaration}
923 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-DocumentCSS-getOverrideStyle
925 DocumentCSS.prototype.getOverrideStyle = function(elt, pseudoElt) {};
929 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-DOMImplementationCSS
931 function DOMImplementationCSS() {}
934 * @param {string} title
935 * @param {string} media
936 * @return {CSSStyleSheet}
937 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-DOMImplementationCSS-createCSSStyleSheet
938 * @throws DOMException {@see DomException.SYNTAX_ERR}
940 DOMImplementationCSS.prototype.createCSSStyleSheet = function(title, media) {};
944 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-ElementCSSInlineStyle
946 function ElementCSSInlineStyle() {}
949 * @type {CSSStyleDeclaration}
950 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-ElementCSSInlineStyle-style
952 ElementCSSInlineStyle.prototype.style;
956 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties
958 function CSSProperties() {}
964 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-azimuth
966 CSSProperties.prototype.azimuth;
970 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-background
972 CSSProperties.prototype.background;
976 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-backgroundAttachment
978 CSSProperties.prototype.backgroundAttachment;
982 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-backgroundColor
984 CSSProperties.prototype.backgroundColor;
988 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-backgroundImage
990 CSSProperties.prototype.backgroundImage;
994 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-backgroundPosition
996 CSSProperties.prototype.backgroundPosition;
1000 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-backgroundRepeat
1002 CSSProperties.prototype.backgroundRepeat;
1006 * @see http://www.w3.org/TR/css3-background/#the-background-size
1008 CSSProperties.prototype.backgroundSize;
1013 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-border
1015 CSSProperties.prototype.border;
1019 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderCollapse
1021 CSSProperties.prototype.borderCollapse;
1025 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderColor
1027 CSSProperties.prototype.borderColor;
1031 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderSpacing
1033 CSSProperties.prototype.borderSpacing;
1037 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue-borderStyle
1039 CSSProperties.prototype.borderStyle;
1043 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderTop
1045 CSSProperties.prototype.borderTop;
1049 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderRight
1051 CSSProperties.prototype.borderRight;
1055 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderBottom
1057 CSSProperties.prototype.borderBottom;
1061 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderLeft
1063 CSSProperties.prototype.borderLeft;
1067 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderTopColor
1069 CSSProperties.prototype.borderTopColor;
1073 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderRightColor
1075 CSSProperties.prototype.borderRightColor;
1079 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderBottomColor
1081 CSSProperties.prototype.borderBottomColor;
1085 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderLeftColor
1087 CSSProperties.prototype.borderLeftColor;
1091 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderTopStyle
1093 CSSProperties.prototype.borderTopStyle;
1097 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderRightStyle
1099 CSSProperties.prototype.borderRightStyle;
1103 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderBottomStyle
1105 CSSProperties.prototype.borderBottomStyle;
1109 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderLeftStyle
1111 CSSProperties.prototype.borderLeftStyle;
1114 * @type {string|number}
1115 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderTopWidth
1117 CSSProperties.prototype.borderTopWidth;
1120 * @type {string|number}
1121 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderRightWidth
1123 CSSProperties.prototype.borderRightWidth;
1126 * @type {string|number}
1127 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderBottomWidth
1129 CSSProperties.prototype.borderBottomWidth;
1132 * @type {string|number}
1133 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderLeftWidth
1135 CSSProperties.prototype.borderLeftWidth;
1138 * @type {string|number}
1139 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderWidth
1141 CSSProperties.prototype.borderWidth;
1144 * @type {string|number}
1145 * @see http://www.w3.org/TR/css3-background/#the-border-radius
1147 CSSProperties.prototype.borderRadius;
1150 * @type {string|number}
1151 * @see http://www.w3.org/TR/css3-background/#the-border-radius
1153 CSSProperties.prototype.borderBottomLeftRadius;
1156 * @type {string|number}
1157 * @see http://www.w3.org/TR/css3-background/#the-border-radius
1159 CSSProperties.prototype.borderBottomRightRadius;
1162 * @type {string|number}
1163 * @see http://www.w3.org/TR/css3-background/#the-border-radius
1165 CSSProperties.prototype.borderTopLeftRadius;
1168 * @type {string|number}
1169 * @see http://www.w3.org/TR/css3-background/#the-border-radius
1171 CSSProperties.prototype.borderTopRightRadius;
1174 * @type {string|number}
1175 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-bottom
1177 CSSProperties.prototype.bottom;
1181 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-captionSide
1183 CSSProperties.prototype.captionSide;
1187 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-clear
1189 CSSProperties.prototype.clear;
1193 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-clip
1195 CSSProperties.prototype.clip;
1199 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-color
1201 CSSProperties.prototype.color;
1205 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-content
1207 CSSProperties.prototype.content;
1211 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-counterIncrement
1213 CSSProperties.prototype.counterIncrement;
1217 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-counterReset
1219 CSSProperties.prototype.counterReset;
1222 * This is not an official part of the W3C spec. In practice, this is a settable
1223 * property that works cross-browser. It is used in goog.dom.setProperties() and
1224 * needs to be extern'd so the --disambiguate_properties JS compiler pass works.
1227 CSSProperties.prototype.cssText;
1231 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-cue
1233 CSSProperties.prototype.cue;
1237 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-cueAfter
1239 CSSProperties.prototype.cueAfter;
1243 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-cueBefore
1245 CSSProperties.prototype.cueBefore;
1249 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-cursor
1251 CSSProperties.prototype.cursor;
1255 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-direction
1257 CSSProperties.prototype.direction;
1261 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-display
1263 CSSProperties.prototype.display;
1267 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-elevation
1269 CSSProperties.prototype.elevation;
1273 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-emptyCells
1275 CSSProperties.prototype.emptyCells;
1279 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-cssFloat
1281 CSSProperties.prototype.cssFloat;
1285 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-font
1287 CSSProperties.prototype.font;
1291 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-fontFamily
1293 CSSProperties.prototype.fontFamily;
1296 * @type {string|number}
1297 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-fontSize
1299 CSSProperties.prototype.fontSize;
1303 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-fontSizeAdjust
1305 CSSProperties.prototype.fontSizeAdjust;
1309 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-fontStretch
1311 CSSProperties.prototype.fontStretch;
1315 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-fontStyle
1317 CSSProperties.prototype.fontStyle;
1321 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-fontVariant
1323 CSSProperties.prototype.fontVariant;
1327 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-fontWeight
1329 CSSProperties.prototype.fontWeight;
1332 * @type {string|number}
1333 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-height
1335 CSSProperties.prototype.height;
1338 * @type {string|number}
1339 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-left
1341 CSSProperties.prototype.left;
1345 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-letterSpacing
1347 CSSProperties.prototype.letterSpacing;
1350 * @type {string|number}
1351 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-lineHeight
1353 CSSProperties.prototype.lineHeight;
1357 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-listStyle
1359 CSSProperties.prototype.listStyle;
1363 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-listStyleImage
1365 CSSProperties.prototype.listStyleImage;
1369 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-listStylePosition
1371 CSSProperties.prototype.listStylePosition;
1375 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-listStyleType
1377 CSSProperties.prototype.listStyleType;
1380 * @type {string|number}
1381 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-margin
1383 CSSProperties.prototype.margin;
1386 * @type {string|number}
1387 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-marginTop
1389 CSSProperties.prototype.marginTop;
1392 * @type {string|number}
1393 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-marginRight
1395 CSSProperties.prototype.marginRight;
1398 * @type {string|number}
1399 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-marginBottom
1401 CSSProperties.prototype.marginBottom;
1404 * @type {string|number}
1405 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-marginLeft
1407 CSSProperties.prototype.marginLeft;
1411 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-markerOffset
1413 CSSProperties.prototype.markerOffset;
1417 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-marks
1419 CSSProperties.prototype.marks;
1422 * @type {string|number}
1423 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-maxHeight
1425 CSSProperties.prototype.maxHeight;
1428 * @type {string|number}
1429 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-maxWidth
1431 CSSProperties.prototype.maxWidth;
1434 * @type {string|number}
1435 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-minHeight
1437 CSSProperties.prototype.minHeight;
1440 * @type {string|number}
1441 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-minWidth
1443 CSSProperties.prototype.minWidth;
1447 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-orphans
1449 CSSProperties.prototype.orphans;
1453 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-outline
1455 CSSProperties.prototype.outline;
1459 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-outlineColor
1461 CSSProperties.prototype.outlineColor;
1465 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-outlineStyle
1467 CSSProperties.prototype.outlineStyle;
1470 * @type {string|number}
1471 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-outlineWidth
1473 CSSProperties.prototype.outlineWidth;
1477 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-overflow
1479 CSSProperties.prototype.overflow;
1482 * @type {string|number}
1483 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-padding
1485 CSSProperties.prototype.padding;
1488 * @type {string|number}
1489 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-paddingTop
1491 CSSProperties.prototype.paddingTop;
1494 * @type {string|number}
1495 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-paddingRight
1497 CSSProperties.prototype.paddingRight;
1500 * @type {string|number}
1501 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-paddingBottom
1503 CSSProperties.prototype.paddingBottom;
1506 * @type {string|number}
1507 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-paddingLeft
1509 CSSProperties.prototype.paddingLeft;
1513 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-page
1515 CSSProperties.prototype.page;
1519 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-pageBreakAfter
1521 CSSProperties.prototype.pageBreakAfter;
1525 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-pageBreakBefore
1527 CSSProperties.prototype.pageBreakBefore;
1531 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-pageBreakInside
1533 CSSProperties.prototype.pageBreakInside;
1537 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-pause
1539 CSSProperties.prototype.pause;
1543 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-pauseAfter
1545 CSSProperties.prototype.pauseAfter;
1549 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-pauseBefore
1551 CSSProperties.prototype.pauseBefore;
1555 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-pitch
1557 CSSProperties.prototype.pitch;
1561 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-pitchRange
1563 CSSProperties.prototype.pitchRange;
1567 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-playDuring
1569 CSSProperties.prototype.playDuring;
1573 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-position
1575 CSSProperties.prototype.position;
1579 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-quotes
1581 CSSProperties.prototype.quotes;
1585 * @see http://www.w3.org/TR/css3-ui/#resize
1587 CSSProperties.prototype.resize;
1591 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-richness
1593 CSSProperties.prototype.richness;
1596 * @type {string|number}
1597 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-right
1599 CSSProperties.prototype.right;
1603 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-size
1605 CSSProperties.prototype.size;
1609 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-speak
1611 CSSProperties.prototype.speak;
1615 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-speakHeader
1617 CSSProperties.prototype.speakHeader;
1621 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-speakNumeral
1623 CSSProperties.prototype.speakNumeral;
1627 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-speakPunctuation
1629 CSSProperties.prototype.speakPunctuation;
1633 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-speechRate
1635 CSSProperties.prototype.speechRate;
1639 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-stress
1641 CSSProperties.prototype.stress;
1645 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-tableLayout
1647 CSSProperties.prototype.tableLayout;
1651 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-textAlign
1653 CSSProperties.prototype.textAlign;
1657 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-textDecoration
1659 CSSProperties.prototype.textDecoration;
1663 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-textIndent
1665 CSSProperties.prototype.textIndent;
1669 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-textShadow
1671 CSSProperties.prototype.textShadow;
1675 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-textTransform
1677 CSSProperties.prototype.textTransform;
1680 * @type {string|number}
1681 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-top
1683 CSSProperties.prototype.top;
1687 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-unicodeBidi
1689 CSSProperties.prototype.unicodeBidi;
1693 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-verticalAlign
1695 CSSProperties.prototype.verticalAlign;
1699 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-visibility
1701 CSSProperties.prototype.visibility;
1705 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-voiceFamily
1707 CSSProperties.prototype.voiceFamily;
1711 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-volume
1713 CSSProperties.prototype.volume;
1717 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-whiteSpace
1719 CSSProperties.prototype.whiteSpace;
1723 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-widows
1725 CSSProperties.prototype.widows;
1728 * @type {string|number}
1729 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-width
1731 CSSProperties.prototype.width;
1735 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-wordSpacing
1737 CSSProperties.prototype.wordSpacing;
1741 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-wordWrap
1743 CSSProperties.prototype.wordWrap;
1746 * @type {string|number}
1747 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-zIndex
1749 CSSProperties.prototype.zIndex;
1755 * @see http://www.w3.org/TR/css3-background/#box-shadow
1757 CSSProperties.prototype.boxShadow;
1761 * @see http://www.w3.org/TR/css3-ui/#box-sizing
1763 CSSProperties.prototype.boxSizing;
1766 * @type {string|number}
1767 * @see http://www.w3.org/TR/css3-color/#transparency
1769 CSSProperties.prototype.opacity;
1773 * @see http://www.w3.org/TR/css3-ui/#text-overflow
1775 CSSProperties.prototype.textOverflow;
1781 * @see http://www.w3.org/TR/css3-2d-transforms/#backface-visibility-property
1783 CSSProperties.prototype.backfaceVisibility;
1787 * @see http://www.w3.org/TR/css3-2d-transforms/#perspective
1789 CSSProperties.prototype.perspective;
1792 * @type {string|number}
1793 * @see http://www.w3.org/TR/css3-2d-transforms/#perspective-origin
1795 CSSProperties.prototype.perspectiveOrigin;
1799 * @see http://www.w3.org/TR/css3-2d-transforms/#effects
1801 CSSProperties.prototype.transform;
1804 * @type {string|number}
1805 * @see http://www.w3.org/TR/css3-2d-transforms/#transform-origin
1807 CSSProperties.prototype.transformOrigin;
1811 * @see http://www.w3.org/TR/css3-2d-transforms/#transform-style
1813 CSSProperties.prototype.transformStyle;
1815 // CSS 3 transitions
1819 * @see http://www.w3.org/TR/css3-transitions/#transition
1821 CSSProperties.prototype.transition;
1825 * @see http://www.w3.org/TR/css3-transitions/#transition-delay
1827 CSSProperties.prototype.transitionDelay;
1831 * @see http://www.w3.org/TR/css3-transitions/#transition-duration
1833 CSSProperties.prototype.transitionDuration;
1837 * @see http://www.w3.org/TR/css3-transitions/#transition-property-property
1839 CSSProperties.prototype.transitionProperty;
1843 * @see http://www.w3.org/TR/css3-transitions/#transition-timing-function
1845 CSSProperties.prototype.transitionTimingFunction;
1849 * @see http://www.w3.org/TR/SVG11/interact.html#PointerEventsProperty
1851 CSSProperties.prototype.pointerEvents;
1854 * TODO(dbeam): Put this in separate file named w3c_cssom.js.
1855 * Externs for the CSSOM View Module.
1856 * @see http://www.w3.org/TR/cssom-view/
1859 // http://www.w3.org/TR/cssom-view/#extensions-to-the-window-interface
1862 * @param {string} media_query_list
1863 * @return {MediaQueryList}
1864 * @see http://www.w3.org/TR/cssom-view/#dom-window-matchmedia
1866 Window.prototype.matchMedia = function(media_query_list) {};
1870 * @see http://www.w3.org/TR/cssom-view/#dom-window-innerwidth
1872 Window.prototype.innerWidth;
1876 * @see http://www.w3.org/TR/cssom-view/#dom-window-innerheight
1878 Window.prototype.innerHeight;
1882 * @see http://www.w3.org/TR/cssom-view/#dom-window-scrollx
1884 Window.prototype.scrollX;
1888 * @see http://www.w3.org/TR/cssom-view/#dom-window-pagexoffset
1890 Window.prototype.pageXOffset;
1894 * @see http://www.w3.org/TR/cssom-view/#dom-window-scrolly
1896 Window.prototype.scrollY;
1900 * @see http://www.w3.org/TR/cssom-view/#dom-window-pageyoffset
1902 Window.prototype.pageYOffset;
1907 * @see http://www.w3.org/TR/cssom-view/#dom-window-scroll
1909 Window.prototype.scroll = function(x, y) {};
1914 * @see http://www.w3.org/TR/cssom-view/#dom-window-scrollto
1916 Window.prototype.scrollTo = function(x, y) {};
1921 * @see http://www.w3.org/TR/cssom-view/#dom-window-scrollby
1923 Window.prototype.scrollBy = function(x, y) {};
1927 * @see http://www.w3.org/TR/cssom-view/#dom-window-screenx
1929 Window.prototype.screenX;
1933 * @see http://www.w3.org/TR/cssom-view/#dom-window-screeny
1935 Window.prototype.screenY;
1939 * @see http://www.w3.org/TR/cssom-view/#dom-window-outerwidth
1941 Window.prototype.outerWidth;
1945 * @see http://www.w3.org/TR/cssom-view/#dom-window-outerheight
1947 Window.prototype.outerHeight;
1951 * @see http://www.w3.org/TR/cssom-view/#mediaquerylist
1953 function MediaQueryList() {}
1957 * @see http://www.w3.org/TR/cssom-view/#dom-mediaquerylist-media
1959 MediaQueryList.prototype.media;
1963 * @see http://www.w3.org/TR/cssom-view/#dom-mediaquerylist-matches
1965 MediaQueryList.prototype.matches;
1968 * @param {MediaQueryListListener} listener
1969 * @see http://www.w3.org/TR/cssom-view/#dom-mediaquerylist-addlistener
1971 MediaQueryList.prototype.addListener = function(listener) {};
1974 * @param {MediaQueryListListener} listener
1975 * @see http://www.w3.org/TR/cssom-view/#dom-mediaquerylist-removelistener
1977 MediaQueryList.prototype.removeListener = function(listener) {};
1980 * @typedef {(function(!MediaQueryList) : void)}
1981 * @see http://www.w3.org/TR/cssom-view/#mediaquerylistlistener
1983 var MediaQueryListListener;
1987 * @see http://www.w3.org/TR/cssom-view/#screen
1989 function Screen() {}
1993 * @see http://www.w3.org/TR/cssom-view/#dom-screen-availwidth
1995 Screen.prototype.availWidth;
1999 * @see http://www.w3.org/TR/cssom-view/#dom-screen-availheight
2001 Screen.prototype.availHeight;
2005 * @see http://www.w3.org/TR/cssom-view/#dom-screen-width
2007 Screen.prototype.width;
2011 * @see http://www.w3.org/TR/cssom-view/#dom-screen-height
2013 Screen.prototype.height;
2017 * @see http://www.w3.org/TR/cssom-view/#dom-screen-colordepth
2019 Screen.prototype.colorDepth;
2023 * @see http://www.w3.org/TR/cssom-view/#dom-screen-pixeldepth
2025 Screen.prototype.pixelDepth;
2028 // http://www.w3.org/TR/cssom-view/#extensions-to-the-document-interface
2033 * @return {?Element}
2034 * @see http://www.w3.org/TR/cssom-view/#dom-document-elementfrompoint
2036 Document.prototype.elementFromPoint = function(x, y) {};
2041 * @return {CaretPosition}
2042 * @see http://www.w3.org/TR/cssom-view/#dom-document-caretpositionfrompoint
2044 Document.prototype.caretPositionFromPoint = function(x, y) {};
2049 * @see http://www.w3.org/TR/cssom-view/#caretposition
2051 function CaretPosition() {}
2055 * @see http://www.w3.org/TR/cssom-view/#dom-caretposition-offsetnode
2057 CaretPosition.prototype.offsetNode;
2061 * @see http://www.w3.org/TR/cssom-view/#dom-caretposition-offset
2063 CaretPosition.prototype.offset;
2066 // http://www.w3.org/TR/cssom-view/#extensions-to-the-element-interface
2069 * @return {!ClientRectList}
2070 * @see http://www.w3.org/TR/cssom-view/#dom-element-getclientrects
2072 Element.prototype.getClientRects = function() {};
2075 * @return {!ClientRect}
2076 * @see http://www.w3.org/TR/cssom-view/#dom-element-getboundingclientrect
2078 Element.prototype.getBoundingClientRect = function() {};
2081 * @param {boolean=} opt_top
2082 * @see http://www.w3.org/TR/cssom-view/#dom-element-scrollintoview
2084 Element.prototype.scrollIntoView = function(opt_top) {};
2088 * @see http://www.w3.org/TR/cssom-view/#dom-element-scrolltop
2090 Element.prototype.scrollTop;
2094 * @see http://www.w3.org/TR/cssom-view/#dom-element-scrollleft
2096 Element.prototype.scrollLeft;
2100 * @see http://www.w3.org/TR/cssom-view/#dom-element-scrollwidth
2102 Element.prototype.scrollWidth;
2106 * @see http://www.w3.org/TR/cssom-view/#dom-element-scrollheight
2108 Element.prototype.scrollHeight;
2112 * @see http://www.w3.org/TR/cssom-view/#dom-element-clienttop
2114 Element.prototype.clientTop;
2118 * @see http://www.w3.org/TR/cssom-view/#dom-element-clientleft
2120 Element.prototype.clientLeft;
2124 * @see http://www.w3.org/TR/cssom-view/#dom-element-clientwidth
2126 Element.prototype.clientWidth;
2130 * @see http://www.w3.org/TR/cssom-view/#dom-element-clientheight
2132 Element.prototype.clientHeight;
2134 // http://www.w3.org/TR/cssom-view/#extensions-to-the-htmlelement-interface
2138 * @see http://www.w3.org/TR/cssom-view/#dom-htmlelement-offsetparent
2140 HTMLElement.prototype.offsetParent;
2144 * @see http://www.w3.org/TR/cssom-view/#dom-htmlelement-offsettop
2146 HTMLElement.prototype.offsetTop;
2150 * @see http://www.w3.org/TR/cssom-view/#dom-htmlelement-offsetleft
2152 HTMLElement.prototype.offsetLeft;
2156 * @see http://www.w3.org/TR/cssom-view/#dom-htmlelement-offsetwidth
2158 HTMLElement.prototype.offsetWidth;
2162 * @see http://www.w3.org/TR/cssom-view/#dom-htmlelement-offsetheight
2164 HTMLElement.prototype.offsetHeight;
2167 // http://www.w3.org/TR/cssom-view/#extensions-to-the-range-interface
2170 * @return {!ClientRectList}
2171 * @see http://www.w3.org/TR/cssom-view/#dom-range-getclientrects
2173 Range.prototype.getClientRects = function() {};
2176 * @return {!ClientRect}
2177 * @see http://www.w3.org/TR/cssom-view/#dom-range-getboundingclientrect
2179 Range.prototype.getBoundingClientRect = function() {};
2182 // http://www.w3.org/TR/cssom-view/#extensions-to-the-mouseevent-interface
2184 // MouseEvent: screen{X,Y} and client{X,Y} are in DOM Level 2/3 Event as well,
2185 // so it seems like a specification issue. I've emailed www-style@w3.org in
2186 // hopes of resolving the conflict, but in the mean time they can live here
2187 // (http://lists.w3.org/Archives/Public/www-style/2012May/0039.html).
2191 * @see http://www.w3.org/TR/cssom-view/#dom-mouseevent-screenx
2193 //MouseEvent.prototype.screenX;
2197 * @see http://www.w3.org/TR/cssom-view/#dom-mouseevent-screeny
2199 //MouseEvent.prototype.screenY;
2203 * @see http://www.w3.org/TR/cssom-view/#dom-mouseevent-pagex
2205 MouseEvent.prototype.pageX;
2209 * @see http://www.w3.org/TR/cssom-view/#dom-mouseevent-pagey
2211 MouseEvent.prototype.pageY;
2215 * @see http://www.w3.org/TR/cssom-view/#dom-mouseevent-clientx
2217 //MouseEvent.prototype.clientX;
2221 * @see http://www.w3.org/TR/cssom-view/#dom-mouseevent-clienty
2223 //MouseEvent.prototype.clientY;
2227 * @see http://www.w3.org/TR/cssom-view/#dom-mouseevent-x
2229 MouseEvent.prototype.x;
2233 * @see http://www.w3.org/TR/cssom-view/#dom-mouseevent-y
2235 MouseEvent.prototype.y;
2239 * @see http://www.w3.org/TR/cssom-view/#dom-mouseevent-offsetx
2241 MouseEvent.prototype.offsetX;
2245 * @see http://www.w3.org/TR/cssom-view/#dom-mouseevent-offsety
2247 MouseEvent.prototype.offsetY;
2250 // http://www.w3.org/TR/cssom-view/#rectangles
2254 * @see http://www.w3.org/TR/cssom-view/#the-clientrectlist-interface
2256 function ClientRectList() {}
2260 * @see http://www.w3.org/TR/cssom-view/#dom-clientrectlist-length
2262 ClientRectList.prototype.length;
2265 * @param {number} index
2266 * @return {ClientRect}
2267 * @see http://www.w3.org/TR/cssom-view/#dom-clientrectlist-item
2269 ClientRectList.prototype.item = function(index) {};
2273 * @see http://www.w3.org/TR/cssom-view/#the-clientrect-interface
2275 function ClientRect() {}
2279 * @see http://www.w3.org/TR/cssom-view/#dom-clientrect-top
2281 ClientRect.prototype.top;
2285 * @see http://www.w3.org/TR/cssom-view/#dom-clientrect-right
2287 ClientRect.prototype.right;
2291 * @see http://www.w3.org/TR/cssom-view/#dom-clientrect-bottom
2293 ClientRect.prototype.bottom;
2297 * @see http://www.w3.org/TR/cssom-view/#dom-clientrect-left
2299 ClientRect.prototype.left;
2303 * @see http://www.w3.org/TR/cssom-view/#dom-clientrect-width
2305 ClientRect.prototype.width;
2309 * @see http://www.w3.org/TR/cssom-view/#dom-clientrect-height
2311 ClientRect.prototype.height;
2315 * http://www.w3.org/TR/css3-conditional/#CSS-interface
2317 function CSSInterface() {}
2320 * @param {string} property
2321 * @param {string=} opt_value
2324 CSSInterface.prototype.supports = function(property, opt_value) {};
2327 * TODO(nicksantos): This suppress tag probably isn't needed, and
2328 * should be removed.
2329 * @suppress {duplicate}
2330 * @type {CSSInterface}
2334 /** @type {CSSInterface} */
2335 Window.prototype.CSS;
2337 // http://dev.w3.org/csswg/css-font-loading/
2341 * @see http://dev.w3.org/csswg/css-font-loading/#enumdef-fontfaceloadstatus
2343 var FontFaceLoadStatus = {
2347 UNLOADED: 'unloaded'
2352 * style: (string|undefined),
2353 * weight: (string|undefined),
2354 * stretch: (string|undefined),
2355 * unicodeRange: (string|undefined),
2356 * variant: (string|undefined),
2357 * featureSettings: (string|undefined)
2359 * @see http://dev.w3.org/csswg/css-font-loading/#dictdef-fontfacedescriptors
2361 var FontFaceDescriptors;
2365 * @param {string} fontFamily
2366 * @param {string} source
2367 * @param {!FontFaceDescriptors} descriptors
2368 * @see http://dev.w3.org/csswg/css-font-loading/#font-face-constructor
2370 function FontFace(fontFamily, source, descriptors) {}
2374 * @see http://dev.w3.org/csswg/css-font-loading/#dom-fontface-family
2376 FontFace.prototype.family;
2380 * @see http://dev.w3.org/csswg/css-font-loading/#dom-fontface-style
2382 FontFace.prototype.style;
2386 * @see http://dev.w3.org/csswg/css-font-loading/#dom-fontface-weight
2388 FontFace.prototype.weight;
2392 * @see http://dev.w3.org/csswg/css-font-loading/#dom-fontface-stretch
2394 FontFace.prototype.stretch;
2398 * @see http://dev.w3.org/csswg/css-font-loading/#dom-fontface-unicoderange
2400 FontFace.prototype.unicodeRange;
2404 * @see http://dev.w3.org/csswg/css-font-loading/#dom-fontface-variant
2406 FontFace.prototype.variant;
2410 * @see http://dev.w3.org/csswg/css-font-loading/#dom-fontface-featuresettings
2412 FontFace.prototype.featureSettings;
2415 * @type {FontFaceLoadStatus}
2416 * @see http://dev.w3.org/csswg/css-font-loading/#dom-fontface-status
2418 FontFace.prototype.status;
2421 * @return {!Promise.<!FontFace>}
2422 * @see http://dev.w3.org/csswg/css-font-loading/#font-face-load
2424 FontFace.prototype.load = function() {};
2428 * @see http://dev.w3.org/csswg/css-font-loading/#enumdef-fontfacesetloadstatus
2430 var FontFaceSetLoadStatus = {
2437 * @see http://dev.w3.org/csswg/css-font-loading/#FontFaceSet-interface
2439 function FontFaceSet() {}
2442 // http://dev.w3.org/csswg/css-font-loading/#FontFaceSet-events
2444 /** @type {?function (Event)} */ FontFaceSet.prototype.onloading;
2445 /** @type {?function (Event)} */ FontFaceSet.prototype.onloadingdone;
2446 /** @type {?function (Event)} */ FontFaceSet.prototype.onloadingerror;
2449 * @param {!FontFace} value
2450 * @see http://dev.w3.org/csswg/css-font-loading/#dom-fontfaceset-add
2452 FontFaceSet.prototype.add = function(value) {};
2455 * @see http://dev.w3.org/csswg/css-font-loading/#dom-fontfaceset-clear
2457 FontFaceSet.prototype.clear = function() {};
2460 * @param {!FontFace} value
2461 * @see http://dev.w3.org/csswg/css-font-loading/#dom-fontfaceset-delete
2463 FontFaceSet.prototype.delete = function(value) {};
2466 * @param {!FontFace} font
2468 * @see http://dev.w3.org/csswg/css-font-loading/#dom-fontfaceset-has
2470 FontFaceSet.prototype.has = function(font) {};
2473 * @param {function(!FontFace, number, !FontFaceSet)} cb
2474 * @param {Object|undefined=} opt_selfObj
2475 * see http://dev.w3.org/csswg/css-font-loading/#dom-fontfaceset-foreach
2477 FontFaceSet.prototype.forEach = function(cb, opt_selfObj) {};
2480 * @param {string} font
2481 * @param {string=} opt_text
2482 * @return {!Promise.<!Array.<!FontFace>>}
2483 * @see http://dev.w3.org/csswg/css-font-loading/#dom-fontfaceset-load
2485 FontFaceSet.prototype.load = function(font, opt_text) {};
2488 * @param {string} font
2489 * @param {string=} opt_text
2491 * @see http://dev.w3.org/csswg/css-font-loading/#dom-fontfaceset-check
2493 FontFaceSet.prototype.check = function(font, opt_text) {};
2496 * @type {!Promise.<!FontFaceSet>}
2497 * @see http://dev.w3.org/csswg/css-font-loading/#dom-fontfaceset-ready
2499 FontFaceSet.prototype.ready;
2502 * @type {FontFaceSetLoadStatus}
2503 * @see http://dev.w3.org/csswg/css-font-loading/#dom-fontfaceset-status
2505 FontFaceSet.prototype.status;