Debian Codegraph @

externs/w3c_css.js

raw symbols SCIP
1 /*
2 * Copyright 2008 Closure Compiler Authors
3 *
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
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
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.
15 */
16
17 /**
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
21 * @externs
22 *
23 * TODO(nicksantos): When there are no more occurrences of w3c_range.js and
24 * gecko_dom.js being included directly in BUILD files, bug dbeam to split the
25 * bottom part of this file into a separate externs.
26 */
27
28 /**
29 * @constructor
30 * @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheet
31 */
32 function StyleSheet() {}
33
34 /**
35 * @type {string}
36 * @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheet-type
37 */
38 StyleSheet.prototype.type;
39
40 /**
41 * @type {boolean}
42 * @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheet-disabled
43 */
44 StyleSheet.prototype.disabled;
45
46 /**
47 * @type {Node}
48 * @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheet-owner
49 */
50 StyleSheet.prototype.ownerNode;
51
52 /**
53 * @type {StyleSheet}
54 * @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheet-parentStyleSheet
55 */
56 StyleSheet.prototype.parentStyleSheet;
57
58 /**
59 * @type {string}
60 * @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheet-href
61 */
62 StyleSheet.prototype.href;
63
64 /**
65 * @type {string}
66 * @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheet-title
67 */
68 StyleSheet.prototype.title;
69
70 /**
71 * @type {MediaList}
72 * @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheet-media
73 */
74 StyleSheet.prototype.media;
75
76 /**
77 * @constructor
78 * @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheetList
79 */
80 function StyleSheetList() {}
81
82 /**
83 * @type {number}
84 * @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheetList-length
85 */
86 StyleSheetList.prototype.length;
87
88 /**
89 * @param {number} index
90 * @return {StyleSheet}
91 * @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheetList-item
92 */
93 StyleSheetList.prototype.item = function(index) {};
94
95 /**
96 * @constructor
97 * @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-MediaList
98 */
99 function MediaList() {}
100
101 /**
102 * @type {string}
103 * @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-MediaList-mediaText
104 */
105 MediaList.prototype.mediaText;
106
107 /**
108 * @type {number}
109 * @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-MediaList-length
110 */
111 MediaList.prototype.length;
112
113 /**
114 * @param {number} index
115 * @return {string}
116 * @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-MediaList-item
117 */
118 MediaList.prototype.item = function(index) {};
119
120 /**
121 * @interface
122 * @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-LinkStyle
123 */
124 function LinkStyle() {}
125
126 /**
127 * @type {StyleSheet}
128 * @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-LinkStyle-sheet
129 */
130 LinkStyle.prototype.sheet;
131
132 /**
133 * @constructor
134 * @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheet-DocumentStyle
135 */
136 function DocumentStyle() {}
137
138 /**
139 * @type {StyleSheetList}
140 * @see http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheet-DocumentStyle-styleSheets
141 */
142 DocumentStyle.prototype.styleSheets;
143
144 /**
145 * @constructor
146 * @extends {StyleSheet}
147 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleSheet
148 */
149 function CSSStyleSheet() {}
150
151 /**
152 * @type {CSSRule}
153 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleSheet-ownerRule
154 */
155 CSSStyleSheet.prototype.ownerRule;
156
157 /**
158 * @type {CSSRuleList}
159 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleSheet-cssRules
160 */
161 CSSStyleSheet.prototype.cssRules;
162
163 /**
164 * @param {string} rule
165 * @param {number} index
166 * @return {number}
167 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleSheet-insertRule
168 */
169 CSSStyleSheet.prototype.insertRule = function(rule, index) {};
170
171 /**
172 * @param {number} index
173 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleSheet-deleteRule
174 */
175 CSSStyleSheet.prototype.deleteRule = function(index) {};
176
177 /**
178 * @constructor
179 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRuleList
180 */
181 function CSSRuleList() {}
182
183 /**
184 * @type {number}
185 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRuleList-length
186 */
187 CSSRuleList.prototype.length;
188
189 /**
190 * @param {number} index
191 * @return {CSSRule}
192 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRuleList-item
193 */
194 CSSRuleList.prototype.item = function(index) {};
195
196 /**
197 * @constructor
198 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRule
199 */
200 function CSSRule() {}
201
202 /**
203 * @type {number}
204 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRule-ruleType
205 */
206 CSSRule.prototype.type;
207
208 /**
209 * @type {string}
210 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRule-cssText
211 */
212 CSSRule.prototype.cssText;
213
214 /**
215 * @type {CSSStyleSheet}
216 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRule-sheet
217 */
218 CSSRule.prototype.parentStyleSheet;
219
220 /**
221 * @type {CSSRule}
222 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRule-parentRule
223 */
224 CSSRule.prototype.parentRule;
225
226 /**
227 * Indicates that the rule is a {@see CSSUnknownRule}.
228 * @type {number}
229 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRule-ruleType
230 */
231 CSSRule.UNKNOWN_RULE = 0;
232
233 /**
234 * Indicates that the rule is a {@see CSSStyleRule}.
235 * @type {number}
236 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRule-ruleType
237 */
238 CSSRule.STYLE_RULE = 1;
239
240 /**
241 * Indicates that the rule is a {@see CSSCharsetRule}.
242 * @type {number}
243 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRule-ruleType
244 */
245 CSSRule.CHARSET_RULE = 2;
246
247 /**
248 * Indicates that the rule is a {@see CSSImportRule}.
249 * @type {number}
250 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRule-ruleType
251 */
252 CSSRule.IMPORT_RULE = 3;
253
254 /**
255 * Indicates that the rule is a {@see CSSMediaRule}.
256 * @type {number}
257 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRule-ruleType
258 */
259 CSSRule.MEDIA_RULE = 4;
260
261 /**
262 * Indicates that the rule is a {@see CSSFontFaceRule}.
263 * @type {number}
264 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRule-ruleType
265 */
266 CSSRule.FONT_FACE_RULE = 5;
267
268 /**
269 * Indicates that the rule is a {@see CSSPageRule}.
270 * @type {number}
271 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRule-ruleType
272 */
273 CSSRule.PAGE_RULE = 6;
274
275 /**
276 * @constructor
277 * @extends {CSSRule}
278 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleRule
279 */
280 function CSSStyleRule() {}
281
282 /**
283 * @type {string}
284 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleRule-selectorText
285 */
286 CSSStyleRule.prototype.selectorText;
287
288 /**
289 * @type {CSSStyleDeclaration}
290 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleRule-style
291 */
292 CSSStyleRule.prototype.style;
293
294 /**
295 * @constructor
296 * @extends {CSSRule}
297 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSMediaRule
298 */
299 function CSSMediaRule() {}
300
301 /**
302 * @type {MediaList}
303 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSMediaRule-mediaTypes
304 */
305 CSSMediaRule.prototype.media;
306
307 /**
308 * @type {CSSRuleList}
309 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSMediaRule-cssRules
310 */
311 CSSMediaRule.prototype.cssRules;
312
313 /**
314 * @param {string} rule
315 * @param {number} index
316 * @return {number}
317 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSMediaRule-insertRule
318 */
319 CSSMediaRule.prototype.insertRule = function(rule, index) {};
320
321 /**
322 * @param {number} index
323 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSMediaRule-deleteRule
324 */
325 CSSMediaRule.prototype.deleteRule = function(index) {};
326
327 /**
328 * @constructor
329 * @extends {CSSRule}
330 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSFontFaceRule
331 */
332 function CSSFontFaceRule() {}
333
334 /**
335 * @type {CSSStyleDeclaration}
336 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSFontFaceRule-style
337 */
338 CSSFontFaceRule.prototype.style;
339
340 /**
341 * @constructor
342 * @extends {CSSRule}
343 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPageRule
344 */
345 function CSSPageRule() {}
346
347 /**
348 * @type {string}
349 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPageRule-name
350 */
351 CSSPageRule.prototype.selectorText;
352
353 /**
354 * @type {CSSStyleDeclaration}
355 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPageRule-style
356 */
357 CSSPageRule.prototype.style;
358
359 /**
360 * @constructor
361 * @extends {CSSRule}
362 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSImportRule
363 */
364 function CSSImportRule() {}
365
366 /**
367 * @type {string}
368 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSImportRule-href
369 */
370 CSSImportRule.prototype.href;
371
372 /**
373 * @type {MediaList}
374 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSImportRule-media
375 */
376 CSSImportRule.prototype.media;
377
378 /**
379 * @type {CSSStyleSheet}
380 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSImportRule-styleSheet
381 */
382 CSSImportRule.prototype.styleSheet;
383
384 /**
385 * @constructor
386 * @extends {CSSRule}
387 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSCharsetRule
388 */
389 function CSSCharsetRule() {}
390
391 /**
392 * @type {string}
393 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSCharsetRule-encoding
394 */
395 CSSCharsetRule.prototype.encoding;
396
397 /**
398 * @constructor
399 * @extends {CSSRule}
400 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSUnknownRule
401 */
402 function CSSUnknownRule() {}
403
404 /**
405 * @constructor
406 * @extends {CSSProperties}
407 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration
408 */
409 function CSSStyleDeclaration() {}
410
411 /**
412 * @type {string}
413 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration-cssText
414 */
415 CSSStyleDeclaration.prototype.cssText;
416
417 /**
418 * @type {number}
419 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration-length
420 */
421 CSSStyleDeclaration.prototype.length;
422
423 /**
424 * @type {CSSRule}
425 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration-parentRule
426 */
427 CSSStyleDeclaration.prototype.parentRule;
428
429 /**
430 * @param {string} propertyName
431 * @return {CSSValue}
432 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration-getPropertyCSSValue
433 */
434 CSSStyleDeclaration.prototype.getPropertyCSSValue = function(propertyName) {};
435
436 /**
437 * @param {string} propertyName
438 * @return {string}
439 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration-getPropertyPriority
440 */
441 CSSStyleDeclaration.prototype.getPropertyPriority = function(propertyName) {};
442
443 /**
444 * @param {string} propertyName
445 * @return {string}
446 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration-getPropertyValue
447 */
448 CSSStyleDeclaration.prototype.getPropertyValue = function(propertyName) {};
449
450 /**
451 * @param {number} index
452 * @return {string}
453 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration-item
454 */
455 CSSStyleDeclaration.prototype.item = function(index) {};
456
457 /**
458 * @param {string} propertyName
459 * @return {string}
460 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration-removeProperty
461 */
462 CSSStyleDeclaration.prototype.removeProperty = function(propertyName) {};
463
464 /**
465 * @param {string} propertyName
466 * @param {string} value
467 * @param {string=} opt_priority
468 * @return {undefined}
469 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration-setProperty
470 */
471 CSSStyleDeclaration.prototype.setProperty = function(propertyName, value, opt_priority) {};
472
473 // IE-specific
474
475 /**
476 * @param {string} name
477 * @param {number=} opt_flags
478 * @return {string|number|boolean|null}
479 * @see http://msdn.microsoft.com/en-us/library/ms536429(VS.85).aspx
480 */
481 CSSStyleDeclaration.prototype.getAttribute = function(name, opt_flags) {};
482
483 /**
484 * @param {string} name
485 * @return {string|number|boolean|null}
486 * @see http://msdn.microsoft.com/en-us/library/aa358797(VS.85).aspx
487 */
488 CSSStyleDeclaration.prototype.getExpression = function(name) {};
489
490 /**
491 * @param {string} name
492 * @param {number=} opt_flags
493 * @return {boolean}
494 * @see http://msdn.microsoft.com/en-us/library/ms536696(VS.85).aspx
495 */
496 CSSStyleDeclaration.prototype.removeAttribute =
497 function(name, opt_flags) {};
498
499 /**
500 * @param {string} name
501 * @return {boolean}
502 * @see http://msdn.microsoft.com/en-us/library/aa358798(VS.85).aspx
503 */
504 CSSStyleDeclaration.prototype.removeExpression = function(name) {};
505
506 /**
507 * @param {string} name
508 * @param {*} value
509 * @param {number=} opt_flags
510 * @see http://msdn.microsoft.com/en-us/library/ms536739(VS.85).aspx
511 */
512 CSSStyleDeclaration.prototype.setAttribute = function(name, value, opt_flags) {};
513
514 /**
515 * @param {string} name
516 * @param {string} expr
517 * @param {string=} opt_language
518 * @return {undefined}
519 * @see http://msdn.microsoft.com/en-us/library/ms531196(VS.85).aspx
520 */
521 CSSStyleDeclaration.prototype.setExpression =
522 function(name, expr, opt_language) {};
523
524
525 /**
526 * @constructor
527 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSValue
528 */
529 function CSSValue() {}
530
531 /**
532 * @type {string}
533 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSValue-cssText
534 */
535 CSSValue.prototype.cssText;
536
537 /**
538 * @type {number}
539 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSValue-cssValueType
540 */
541 CSSValue.prototype.cssValueType;
542
543 /**
544 * @type {number}
545 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSValue-types
546 */
547 CSSValue.CSS_INHERIT = 0;
548
549 /**
550 * @type {number}
551 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSValue-types
552 */
553 CSSValue.CSS_PRIMITIVE_VALUE = 1;
554
555 /**
556 * @type {number}
557 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSValue-types
558 */
559 CSSValue.CSS_VALUE_LIST = 2;
560
561 /**
562 * @type {number}
563 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSValue-types
564 */
565 CSSValue.CSS_CUSTOM = 3;
566
567 /**
568 * @constructor
569 * @extends {CSSValue}
570 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
571 */
572 function CSSPrimitiveValue() {}
573
574 /**
575 * @type {number}
576 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
577 */
578 CSSPrimitiveValue.prototype.primitiveType;
579
580 /**
581 * @type {number}
582 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
583 */
584 CSSPrimitiveValue.CSS_UNKNOWN = 0;
585
586 /**
587 * @type {number}
588 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
589 */
590 CSSPrimitiveValue.CSS_NUMBER = 1;
591
592 /**
593 * @type {number}
594 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
595 */
596 CSSPrimitiveValue.CSS_PERCENTAGE = 2;
597
598 /**
599 * @type {number}
600 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
601 */
602 CSSPrimitiveValue.CSS_EMS = 3;
603
604 /**
605 * @type {number}
606 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
607 */
608 CSSPrimitiveValue.CSS_EXS = 4;
609
610 /**
611 * @type {number}
612 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
613 */
614 CSSPrimitiveValue.CSS_PX = 5;
615
616 /**
617 * @type {number}
618 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
619 */
620 CSSPrimitiveValue.CSS_CM = 6;
621
622 /**
623 * @type {number}
624 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
625 */
626 CSSPrimitiveValue.CSS_MM = 7;
627
628 /**
629 * @type {number}
630 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
631 */
632 CSSPrimitiveValue.CSS_IN = 8;
633
634 /**
635 * @type {number}
636 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
637 */
638 CSSPrimitiveValue.CSS_PT = 9;
639
640 /**
641 * @type {number}
642 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
643 */
644 CSSPrimitiveValue.CSS_PC = 10;
645
646 /**
647 * @type {number}
648 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
649 */
650 CSSPrimitiveValue.CSS_DEG = 11;
651
652 /**
653 * @type {number}
654 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
655 */
656 CSSPrimitiveValue.CSS_RAD = 12;
657
658 /**
659 * @type {number}
660 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
661 */
662 CSSPrimitiveValue.CSS_GRAD = 13;
663
664 /**
665 * @type {number}
666 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
667 */
668 CSSPrimitiveValue.CSS_MS = 14;
669
670 /**
671 * @type {number}
672 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
673 */
674 CSSPrimitiveValue.CSS_S = 15;
675
676 /**
677 * @type {number}
678 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
679 */
680 CSSPrimitiveValue.CSS_HZ = 16;
681
682 /**
683 * @type {number}
684 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
685 */
686 CSSPrimitiveValue.CSS_KHZ = 17;
687
688 /**
689 * @type {number}
690 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
691 */
692 CSSPrimitiveValue.CSS_DIMENSION = 18;
693
694 /**
695 * @type {number}
696 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
697 */
698 CSSPrimitiveValue.CSS_STRING = 19;
699
700 /**
701 * @type {number}
702 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
703 */
704 CSSPrimitiveValue.CSS_URI = 20;
705
706 /**
707 * @type {number}
708 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
709 */
710 CSSPrimitiveValue.CSS_IDENT = 21;
711
712 /**
713 * @type {number}
714 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
715 */
716 CSSPrimitiveValue.CSS_ATTR = 22;
717
718 /**
719 * @type {number}
720 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
721 */
722 CSSPrimitiveValue.CSS_COUNTER = 23;
723
724 /**
725 * @type {number}
726 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
727 */
728 CSSPrimitiveValue.CSS_RECT = 24;
729
730 /**
731 * @type {number}
732 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue
733 */
734 CSSPrimitiveValue.CSS_RGBCOLOR = 25;
735
736 /**
737 * @return {Counter}
738 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue-getCounterValue
739 * @throws DOMException {@see DomException.INVALID_ACCESS_ERR}
740 */
741 CSSPrimitiveValue.prototype.getCounterValue = function() {};
742
743 /**
744 * @param {number} unitType
745 * @return {number}
746 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue-getFloatValue
747 * @throws DOMException {@see DomException.INVALID_ACCESS_ERR}
748 */
749 CSSPrimitiveValue.prototype.getFloatValue = function(unitType) {};
750
751 /**
752 * @return {RGBColor}
753 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue-getRGBColorValue
754 * @throws DOMException {@see DomException.INVALID_ACCESS_ERR}
755 */
756 CSSPrimitiveValue.prototype.getRGBColorValue = function() {};
757
758 /**
759 * @return {Rect}
760 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue-getRectValue
761 * @throws DOMException {@see DomException.INVALID_ACCESS_ERR}
762 */
763 CSSPrimitiveValue.prototype.getRectValue = function() {};
764
765 /**
766 * @return {string}
767 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue-getStringValue
768 * @throws DOMException {@see DomException.INVALID_ACCESS_ERR}
769 */
770 CSSPrimitiveValue.prototype.getStringValue = function() {};
771
772 /**
773 * @param {number} unitType
774 * @param {number} floatValue
775 * @return {undefined}
776 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue-setFloatValue
777 * @throws DOMException {@see DomException.INVALID_ACCESS_ERR},
778 * {@see DomException.NO_MODIFICATION_ALLOWED_ERR}
779 */
780 CSSPrimitiveValue.prototype.setFloatValue = function(unitType, floatValue) {};
781
782 /**
783 * @param {number} stringType
784 * @param {string} stringValue
785 * @return {undefined}
786 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue-setStringValue
787 * @throws DOMException {@see DomException.INVALID_ACCESS_ERR},
788 * {@see DomException.NO_MODIFICATION_ALLOWED_ERR}
789 */
790 CSSPrimitiveValue.prototype.setStringValue = function(stringType, stringValue) {};
791
792 /**
793 * @constructor
794 * @extends {CSSValue}
795 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSValueList
796 */
797 function CSSValueList() {}
798
799 /**
800 * @type {number}
801 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSValueList-length
802 */
803 CSSValueList.prototype.length;
804
805 /**
806 * @param {number} index
807 * @return {CSSValue}
808 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSValueList-item
809 */
810 CSSValueList.prototype.item = function(index) {};
811
812 /**
813 * @constructor
814 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-RGBColor
815 */
816 function RGBColor() {}
817
818 /**
819 * @type {CSSPrimitiveValue}
820 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-RGBColor-red
821 */
822 RGBColor.prototype.red;
823
824 /**
825 * @type {CSSPrimitiveValue}
826 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-RGBColor-green
827 */
828 RGBColor.prototype.green;
829
830 /**
831 * @type {CSSPrimitiveValue}
832 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-RGBColor-blue
833 */
834 RGBColor.prototype.blue;
835
836 /**
837 * @constructor
838 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-Rect
839 */
840 function Rect() {}
841
842 /**
843 * @type {CSSPrimitiveValue}
844 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-Rect-top
845 */
846 Rect.prototype.top;
847
848 /**
849 * @type {CSSPrimitiveValue}
850 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-Rect-right
851 */
852 Rect.prototype.right;
853
854 /**
855 * @type {CSSPrimitiveValue}
856 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-Rect-bottom
857 */
858 Rect.prototype.bottom;
859
860 /**
861 * @type {CSSPrimitiveValue}
862 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-Rect-left
863 */
864 Rect.prototype.left;
865
866 /**
867 * @constructor
868 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-Counter
869 */
870 function Counter() {}
871
872 /**
873 * @type {string}
874 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-Counter-identifier
875 */
876 Counter.prototype.identifier;
877
878 /**
879 * @type {string}
880 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-Counter-listStyle
881 */
882 Counter.prototype.listStyle;
883
884 /**
885 * @type {string}
886 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-Counter-separator
887 */
888 Counter.prototype.separator;
889
890 /**
891 * @constructor
892 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-ViewCSS
893 */
894 function ViewCSS() {}
895
896 /**
897 * @param {Element} elt
898 * @param {?string} pseudoElt
899 * @return {CSSStyleDeclaration}
900 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSview-getComputedStyle
901 */
902 ViewCSS.prototype.getComputedStyle = function(elt, pseudoElt) {};
903
904 /**
905 * @constructor
906 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-DocumentCSS
907 */
908 function DocumentCSS() {}
909
910 /**
911 * @param {Element} elt
912 * @param {string} pseudoElt
913 * @return {CSSStyleDeclaration}
914 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-DocumentCSS-getOverrideStyle
915 */
916 DocumentCSS.prototype.getOverrideStyle = function(elt, pseudoElt) {};
917
918 /**
919 * @constructor
920 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-DOMImplementationCSS
921 */
922 function DOMImplementationCSS() {}
923
924 /**
925 * @param {string} title
926 * @param {string} media
927 * @return {CSSStyleSheet}
928 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-DOMImplementationCSS-createCSSStyleSheet
929 * @throws DOMException {@see DomException.SYNTAX_ERR}
930 */
931 DOMImplementationCSS.prototype.createCSSStyleSheet = function(title, media) {};
932
933 /**
934 * @constructor
935 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-ElementCSSInlineStyle
936 */
937 function ElementCSSInlineStyle() {}
938
939 /**
940 * @type {CSSStyleDeclaration}
941 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-ElementCSSInlineStyle-style
942 */
943 ElementCSSInlineStyle.prototype.style;
944
945 /**
946 * @constructor
947 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties
948 */
949 function CSSProperties() {}
950
951 // CSS 2 properties
952
953 /**
954 * @type {string}
955 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-azimuth
956 */
957 CSSProperties.prototype.azimuth;
958
959 /**
960 * @type {string}
961 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-background
962 */
963 CSSProperties.prototype.background;
964
965 /**
966 * @type {string}
967 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-backgroundAttachment
968 */
969 CSSProperties.prototype.backgroundAttachment;
970
971 /**
972 * @type {string}
973 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-backgroundColor
974 */
975 CSSProperties.prototype.backgroundColor;
976
977 /**
978 * @type {string}
979 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-backgroundImage
980 */
981 CSSProperties.prototype.backgroundImage;
982
983 /**
984 * @type {string}
985 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-backgroundPosition
986 */
987 CSSProperties.prototype.backgroundPosition;
988
989 /**
990 * @type {string}
991 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-backgroundRepeat
992 */
993 CSSProperties.prototype.backgroundRepeat;
994
995 /**
996 * @implicitCast
997 * @type {string}
998 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-border
999 */
1000 CSSProperties.prototype.border;
1001
1002 /**
1003 * @type {string}
1004 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderCollapse
1005 */
1006 CSSProperties.prototype.borderCollapse;
1007
1008 /**
1009 * @type {string}
1010 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderColor
1011 */
1012 CSSProperties.prototype.borderColor;
1013
1014 /**
1015 * @type {string}
1016 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderSpacing
1017 */
1018 CSSProperties.prototype.borderSpacing;
1019
1020 /**
1021 * @type {string}
1022 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSPrimitiveValue-borderStyle
1023 */
1024 CSSProperties.prototype.borderStyle;
1025
1026 /**
1027 * @type {string}
1028 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderTop
1029 */
1030 CSSProperties.prototype.borderTop;
1031
1032 /**
1033 * @type {string}
1034 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderRight
1035 */
1036 CSSProperties.prototype.borderRight;
1037
1038 /**
1039 * @type {string}
1040 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderBottom
1041 */
1042 CSSProperties.prototype.borderBottom;
1043
1044 /**
1045 * @type {string}
1046 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderLeft
1047 */
1048 CSSProperties.prototype.borderLeft;
1049
1050 /**
1051 * @type {string}
1052 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderTopColor
1053 */
1054 CSSProperties.prototype.borderTopColor;
1055
1056 /**
1057 * @type {string}
1058 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderRightColor
1059 */
1060 CSSProperties.prototype.borderRightColor;
1061
1062 /**
1063 * @type {string}
1064 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderBottomColor
1065 */
1066 CSSProperties.prototype.borderBottomColor;
1067
1068 /**
1069 * @type {string}
1070 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderLeftColor
1071 */
1072 CSSProperties.prototype.borderLeftColor;
1073
1074 /**
1075 * @type {string}
1076 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderTopStyle
1077 */
1078 CSSProperties.prototype.borderTopStyle;
1079
1080 /**
1081 * @type {string}
1082 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderRightStyle
1083 */
1084 CSSProperties.prototype.borderRightStyle;
1085
1086 /**
1087 * @type {string}
1088 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderBottomStyle
1089 */
1090 CSSProperties.prototype.borderBottomStyle;
1091
1092 /**
1093 * @type {string}
1094 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderLeftStyle
1095 */
1096 CSSProperties.prototype.borderLeftStyle;
1097
1098 /**
1099 * @type {string|number}
1100 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderTopWidth
1101 */
1102 CSSProperties.prototype.borderTopWidth;
1103
1104 /**
1105 * @type {string|number}
1106 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderRightWidth
1107 */
1108 CSSProperties.prototype.borderRightWidth;
1109
1110 /**
1111 * @type {string|number}
1112 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderBottomWidth
1113 */
1114 CSSProperties.prototype.borderBottomWidth;
1115
1116 /**
1117 * @type {string|number}
1118 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderLeftWidth
1119 */
1120 CSSProperties.prototype.borderLeftWidth;
1121
1122 /**
1123 * @type {string|number}
1124 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-borderWidth
1125 */
1126 CSSProperties.prototype.borderWidth;
1127
1128 /**
1129 * @type {string|number}
1130 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-bottom
1131 */
1132 CSSProperties.prototype.bottom;
1133
1134 /**
1135 * @type {string}
1136 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-captionSide
1137 */
1138 CSSProperties.prototype.captionSide;
1139
1140 /**
1141 * @type {string}
1142 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-clear
1143 */
1144 CSSProperties.prototype.clear;
1145
1146 /**
1147 * @type {string}
1148 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-clip
1149 */
1150 CSSProperties.prototype.clip;
1151
1152 /**
1153 * @type {string}
1154 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-color
1155 */
1156 CSSProperties.prototype.color;
1157
1158 /**
1159 * @type {string}
1160 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-content
1161 */
1162 CSSProperties.prototype.content;
1163
1164 /**
1165 * @type {string}
1166 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-counterIncrement
1167 */
1168 CSSProperties.prototype.counterIncrement;
1169
1170 /**
1171 * @type {string}
1172 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-counterReset
1173 */
1174 CSSProperties.prototype.counterReset;
1175
1176 /**
1177 * This is not an official part of the W3C spec. In practice, this is a settable
1178 * property that works cross-browser. It is used in goog.dom.setProperties() and
1179 * needs to be extern'd so the --disambiguate_properties JS compiler pass works.
1180 * @type {string}
1181 */
1182 CSSProperties.prototype.cssText;
1183
1184 /**
1185 * @type {string}
1186 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-cue
1187 */
1188 CSSProperties.prototype.cue;
1189
1190 /**
1191 * @type {string}
1192 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-cueAfter
1193 */
1194 CSSProperties.prototype.cueAfter;
1195
1196 /**
1197 * @type {string}
1198 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-cueBefore
1199 */
1200 CSSProperties.prototype.cueBefore;
1201
1202 /**
1203 * @type {string}
1204 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-cursor
1205 */
1206 CSSProperties.prototype.cursor;
1207
1208 /**
1209 * @type {string}
1210 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-direction
1211 */
1212 CSSProperties.prototype.direction;
1213
1214 /**
1215 * @type {string}
1216 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-display
1217 */
1218 CSSProperties.prototype.display;
1219
1220 /**
1221 * @type {string}
1222 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-elevation
1223 */
1224 CSSProperties.prototype.elevation;
1225
1226 /**
1227 * @type {string}
1228 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-emptyCells
1229 */
1230 CSSProperties.prototype.emptyCells;
1231
1232 /**
1233 * @type {string}
1234 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-cssFloat
1235 */
1236 CSSProperties.prototype.cssFloat;
1237
1238 /**
1239 * @type {string}
1240 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-font
1241 */
1242 CSSProperties.prototype.font;
1243
1244 /**
1245 * @type {string}
1246 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-fontFamily
1247 */
1248 CSSProperties.prototype.fontFamily;
1249
1250 /**
1251 * @type {string|number}
1252 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-fontSize
1253 */
1254 CSSProperties.prototype.fontSize;
1255
1256 /**
1257 * @type {string}
1258 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-fontSizeAdjust
1259 */
1260 CSSProperties.prototype.fontSizeAdjust;
1261
1262 /**
1263 * @type {string}
1264 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-fontStretch
1265 */
1266 CSSProperties.prototype.fontStretch;
1267
1268 /**
1269 * @type {string}
1270 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-fontStyle
1271 */
1272 CSSProperties.prototype.fontStyle;
1273
1274 /**
1275 * @type {string}
1276 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-fontVariant
1277 */
1278 CSSProperties.prototype.fontVariant;
1279
1280 /**
1281 * @type {string}
1282 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-fontWeight
1283 */
1284 CSSProperties.prototype.fontWeight;
1285
1286 /**
1287 * @type {string|number}
1288 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-height
1289 */
1290 CSSProperties.prototype.height;
1291
1292 /**
1293 * @type {string|number}
1294 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-left
1295 */
1296 CSSProperties.prototype.left;
1297
1298 /**
1299 * @type {string}
1300 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-letterSpacing
1301 */
1302 CSSProperties.prototype.letterSpacing;
1303
1304 /**
1305 * @type {string|number}
1306 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-lineHeight
1307 */
1308 CSSProperties.prototype.lineHeight;
1309
1310 /**
1311 * @type {string}
1312 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-listStyle
1313 */
1314 CSSProperties.prototype.listStyle;
1315
1316 /**
1317 * @type {string}
1318 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-listStyleImage
1319 */
1320 CSSProperties.prototype.listStyleImage;
1321
1322 /**
1323 * @type {string}
1324 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-listStylePosition
1325 */
1326 CSSProperties.prototype.listStylePosition;
1327
1328 /**
1329 * @type {string}
1330 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-listStyleType
1331 */
1332 CSSProperties.prototype.listStyleType;
1333
1334 /**
1335 * @type {string|number}
1336 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-margin
1337 */
1338 CSSProperties.prototype.margin;
1339
1340 /**
1341 * @type {string|number}
1342 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-marginTop
1343 */
1344 CSSProperties.prototype.marginTop;
1345
1346 /**
1347 * @type {string|number}
1348 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-marginRight
1349 */
1350 CSSProperties.prototype.marginRight;
1351
1352 /**
1353 * @type {string|number}
1354 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-marginBottom
1355 */
1356 CSSProperties.prototype.marginBottom;
1357
1358 /**
1359 * @type {string|number}
1360 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-marginLeft
1361 */
1362 CSSProperties.prototype.marginLeft;
1363
1364 /**
1365 * @type {string}
1366 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-markerOffset
1367 */
1368 CSSProperties.prototype.markerOffset;
1369
1370 /**
1371 * @type {string}
1372 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-marks
1373 */
1374 CSSProperties.prototype.marks;
1375
1376 /**
1377 * @type {string|number}
1378 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-maxHeight
1379 */
1380 CSSProperties.prototype.maxHeight;
1381
1382 /**
1383 * @type {string|number}
1384 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-maxWidth
1385 */
1386 CSSProperties.prototype.maxWidth;
1387
1388 /**
1389 * @type {string|number}
1390 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-minHeight
1391 */
1392 CSSProperties.prototype.minHeight;
1393
1394 /**
1395 * @type {string|number}
1396 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-minWidth
1397 */
1398 CSSProperties.prototype.minWidth;
1399
1400 /**
1401 * @type {string}
1402 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-orphans
1403 */
1404 CSSProperties.prototype.orphans;
1405
1406 /**
1407 * @type {string}
1408 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-outline
1409 */
1410 CSSProperties.prototype.outline;
1411
1412 /**
1413 * @type {string}
1414 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-outlineColor
1415 */
1416 CSSProperties.prototype.outlineColor;
1417
1418 /**
1419 * @type {string}
1420 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-outlineStyle
1421 */
1422 CSSProperties.prototype.outlineStyle;
1423
1424 /**
1425 * @type {string|number}
1426 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-outlineWidth
1427 */
1428 CSSProperties.prototype.outlineWidth;
1429
1430 /**
1431 * @type {string}
1432 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-overflow
1433 */
1434 CSSProperties.prototype.overflow;
1435
1436 /**
1437 * @type {string|number}
1438 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-padding
1439 */
1440 CSSProperties.prototype.padding;
1441
1442 /**
1443 * @type {string|number}
1444 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-paddingTop
1445 */
1446 CSSProperties.prototype.paddingTop;
1447
1448 /**
1449 * @type {string|number}
1450 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-paddingRight
1451 */
1452 CSSProperties.prototype.paddingRight;
1453
1454 /**
1455 * @type {string|number}
1456 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-paddingBottom
1457 */
1458 CSSProperties.prototype.paddingBottom;
1459
1460 /**
1461 * @type {string|number}
1462 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-paddingLeft
1463 */
1464 CSSProperties.prototype.paddingLeft;
1465
1466 /**
1467 * @type {string}
1468 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-page
1469 */
1470 CSSProperties.prototype.page;
1471
1472 /**
1473 * @type {string}
1474 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-pageBreakAfter
1475 */
1476 CSSProperties.prototype.pageBreakAfter;
1477
1478 /**
1479 * @type {string}
1480 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-pageBreakBefore
1481 */
1482 CSSProperties.prototype.pageBreakBefore;
1483
1484 /**
1485 * @type {string}
1486 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-pageBreakInside
1487 */
1488 CSSProperties.prototype.pageBreakInside;
1489
1490 /**
1491 * @type {string}
1492 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-pause
1493 */
1494 CSSProperties.prototype.pause;
1495
1496 /**
1497 * @type {string}
1498 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-pauseAfter
1499 */
1500 CSSProperties.prototype.pauseAfter;
1501
1502 /**
1503 * @type {string}
1504 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-pauseBefore
1505 */
1506 CSSProperties.prototype.pauseBefore;
1507
1508 /**
1509 * @type {string}
1510 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-pitch
1511 */
1512 CSSProperties.prototype.pitch;
1513
1514 /**
1515 * @type {string}
1516 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-pitchRange
1517 */
1518 CSSProperties.prototype.pitchRange;
1519
1520 /**
1521 * @type {string}
1522 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-playDuring
1523 */
1524 CSSProperties.prototype.playDuring;
1525
1526 /**
1527 * @type {string}
1528 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-position
1529 */
1530 CSSProperties.prototype.position;
1531
1532 /**
1533 * @type {string}
1534 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-quotes
1535 */
1536 CSSProperties.prototype.quotes;
1537
1538 /**
1539 * @type {string}
1540 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-richness
1541 */
1542 CSSProperties.prototype.richness;
1543
1544 /**
1545 * @type {string|number}
1546 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-right
1547 */
1548 CSSProperties.prototype.right;
1549
1550 /**
1551 * @type {string}
1552 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-size
1553 */
1554 CSSProperties.prototype.size;
1555
1556 /**
1557 * @type {string}
1558 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-speak
1559 */
1560 CSSProperties.prototype.speak;
1561
1562 /**
1563 * @type {string}
1564 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-speakHeader
1565 */
1566 CSSProperties.prototype.speakHeader;
1567
1568 /**
1569 * @type {string}
1570 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-speakNumeral
1571 */
1572 CSSProperties.prototype.speakNumeral;
1573
1574 /**
1575 * @type {string}
1576 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-speakPunctuation
1577 */
1578 CSSProperties.prototype.speakPunctuation;
1579
1580 /**
1581 * @type {string}
1582 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-speechRate
1583 */
1584 CSSProperties.prototype.speechRate;
1585
1586 /**
1587 * @type {string}
1588 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-stress
1589 */
1590 CSSProperties.prototype.stress;
1591
1592 /**
1593 * @type {string}
1594 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-tableLayout
1595 */
1596 CSSProperties.prototype.tableLayout;
1597
1598 /**
1599 * @type {string}
1600 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-textAlign
1601 */
1602 CSSProperties.prototype.textAlign;
1603
1604 /**
1605 * @type {string}
1606 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-textDecoration
1607 */
1608 CSSProperties.prototype.textDecoration;
1609
1610 /**
1611 * @type {string}
1612 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-textIndent
1613 */
1614 CSSProperties.prototype.textIndent;
1615
1616 /**
1617 * @type {string}
1618 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-textShadow
1619 */
1620 CSSProperties.prototype.textShadow;
1621
1622 /**
1623 * @type {string}
1624 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-textTransform
1625 */
1626 CSSProperties.prototype.textTransform;
1627
1628 /**
1629 * @type {string|number}
1630 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-top
1631 */
1632 CSSProperties.prototype.top;
1633
1634 /**
1635 * @type {string}
1636 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-unicodeBidi
1637 */
1638 CSSProperties.prototype.unicodeBidi;
1639
1640 /**
1641 * @type {string}
1642 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-verticalAlign
1643 */
1644 CSSProperties.prototype.verticalAlign;
1645
1646 /**
1647 * @type {string}
1648 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-visibility
1649 */
1650 CSSProperties.prototype.visibility;
1651
1652 /**
1653 * @type {string}
1654 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-voiceFamily
1655 */
1656 CSSProperties.prototype.voiceFamily;
1657
1658 /**
1659 * @type {string}
1660 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-volume
1661 */
1662 CSSProperties.prototype.volume;
1663
1664 /**
1665 * @type {string}
1666 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-whiteSpace
1667 */
1668 CSSProperties.prototype.whiteSpace;
1669
1670 /**
1671 * @type {string}
1672 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-widows
1673 */
1674 CSSProperties.prototype.widows;
1675
1676 /**
1677 * @type {string|number}
1678 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-width
1679 */
1680 CSSProperties.prototype.width;
1681
1682 /**
1683 * @type {string}
1684 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-wordSpacing
1685 */
1686 CSSProperties.prototype.wordSpacing;
1687
1688 /**
1689 * @type {string}
1690 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-wordWrap
1691 */
1692 CSSProperties.prototype.wordWrap;
1693
1694 /**
1695 * @type {string|number}
1696 * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSProperties-zIndex
1697 */
1698 CSSProperties.prototype.zIndex;
1699
1700 // CSS 3 properties
1701
1702 /**
1703 * @type {string}
1704 * @see http://www.w3.org/TR/css3-ui/#box-sizing
1705 */
1706 CSSProperties.prototype.boxSizing;
1707
1708 /**
1709 * @type {string|number}
1710 * @see http://www.w3.org/TR/css3-color/#transparency
1711 */
1712 CSSProperties.prototype.opacity;
1713
1714 // CSS 3 transforms
1715
1716 /**
1717 * @type {string}
1718 * @see http://www.w3.org/TR/css3-2d-transforms/#backface-visibility-property
1719 */
1720 CSSProperties.prototype.backfaceVisibility;
1721
1722 /**
1723 * @type {string}
1724 * @see http://www.w3.org/TR/css3-2d-transforms/#perspective
1725 */
1726 CSSProperties.prototype.perspective;
1727
1728 /**
1729 * @type {string|number}
1730 * @see http://www.w3.org/TR/css3-2d-transforms/#perspective-origin
1731 */
1732 CSSProperties.prototype.perspectiveOrigin;
1733
1734 /**
1735 * @type {string}
1736 * @see http://www.w3.org/TR/css3-2d-transforms/#effects
1737 */
1738 CSSProperties.prototype.transform;
1739
1740 /**
1741 * @type {string|number}
1742 * @see http://www.w3.org/TR/css3-2d-transforms/#transform-origin
1743 */
1744 CSSProperties.prototype.transformOrigin;
1745
1746 /**
1747 * @type {string}
1748 * @see http://www.w3.org/TR/css3-2d-transforms/#transform-style
1749 */
1750 CSSProperties.prototype.transformStyle;
1751
1752 // CSS 3 transitions
1753
1754 /**
1755 * @type {string}
1756 * @see http://www.w3.org/TR/css3-transitions/#transition
1757 */
1758 CSSProperties.prototype.transition;
1759
1760 /**
1761 * @type {string}
1762 * @see http://www.w3.org/TR/css3-transitions/#transition-delay
1763 */
1764 CSSProperties.prototype.transitionDelay;
1765
1766 /**
1767 * @type {string}
1768 * @see http://www.w3.org/TR/css3-transitions/#transition-duration
1769 */
1770 CSSProperties.prototype.transitionDuration;
1771
1772 /**
1773 * @type {string}
1774 * @see http://www.w3.org/TR/css3-transitions/#transition-property-property
1775 */
1776 CSSProperties.prototype.transitionProperty;
1777
1778 /**
1779 * @type {string}
1780 * @see http://www.w3.org/TR/css3-transitions/#transition-timing-function
1781 */
1782 CSSProperties.prototype.transitionTimingFunction;
1783
1784
1785 /**
1786 * TODO(dbeam): Put this in separate file named w3c_cssom.js.
1787 * Externs for the CSSOM View Module.
1788 * @see http://www.w3.org/TR/cssom-view/
1789 */
1790
1791 // http://www.w3.org/TR/cssom-view/#extensions-to-the-window-interface
1792
1793 /**
1794 * @param {string} media_query_list
1795 * @return {MediaQueryList}
1796 * @see http://www.w3.org/TR/cssom-view/#dom-window-matchmedia
1797 */
1798 Window.prototype.matchMedia = function(media_query_list) {};
1799
1800 /**
1801 * @type {Screen}
1802 * @see http://www.w3.org/TR/cssom-view/#dom-window-screen
1803 */
1804 Window.prototype.screen;
1805
1806 /**
1807 * @type {number}
1808 * @see http://www.w3.org/TR/cssom-view/#dom-window-innerwidth
1809 */
1810 Window.prototype.innerWidth;
1811
1812 /**
1813 * @type {number}
1814 * @see http://www.w3.org/TR/cssom-view/#dom-window-innerheight
1815 */
1816 Window.prototype.innerHeight;
1817
1818 /**
1819 * @type {number}
1820 * @see http://www.w3.org/TR/cssom-view/#dom-window-scrollx
1821 */
1822 Window.prototype.scrollX;
1823
1824 /**
1825 * @type {number}
1826 * @see http://www.w3.org/TR/cssom-view/#dom-window-pagexoffset
1827 */
1828 Window.prototype.pageXOffset;
1829
1830 /**
1831 * @type {number}
1832 * @see http://www.w3.org/TR/cssom-view/#dom-window-scrolly
1833 */
1834 Window.prototype.scrollY;
1835
1836 /**
1837 * @type {number}
1838 * @see http://www.w3.org/TR/cssom-view/#dom-window-pageyoffset
1839 */
1840 Window.prototype.pageYOffset;
1841
1842 /**
1843 * @param {number} x
1844 * @param {number} y
1845 * @see http://www.w3.org/TR/cssom-view/#dom-window-scroll
1846 */
1847 Window.prototype.scroll = function(x, y) {};
1848
1849 /**
1850 * @param {number} x
1851 * @param {number} y
1852 * @see http://www.w3.org/TR/cssom-view/#dom-window-scrollto
1853 */
1854 Window.prototype.scrollTo = function(x, y) {};
1855
1856 /**
1857 * @param {number} x
1858 * @param {number} y
1859 * @see http://www.w3.org/TR/cssom-view/#dom-window-scrollby
1860 */
1861 Window.prototype.scrollBy = function(x, y) {};
1862
1863 /**
1864 * @type {number}
1865 * @see http://www.w3.org/TR/cssom-view/#dom-window-screenx
1866 */
1867 Window.prototype.screenX;
1868
1869 /**
1870 * @type {number}
1871 * @see http://www.w3.org/TR/cssom-view/#dom-window-screeny
1872 */
1873 Window.prototype.screenY;
1874
1875 /**
1876 * @type {number}
1877 * @see http://www.w3.org/TR/cssom-view/#dom-window-outerwidth
1878 */
1879 Window.prototype.outerWidth;
1880
1881 /**
1882 * @type {number}
1883 * @see http://www.w3.org/TR/cssom-view/#dom-window-outerheight
1884 */
1885 Window.prototype.outerHeight;
1886
1887 /**
1888 * @constructor
1889 * @see http://www.w3.org/TR/cssom-view/#mediaquerylist
1890 */
1891 function MediaQueryList() {}
1892
1893 /**
1894 * @type {string}
1895 * @see http://www.w3.org/TR/cssom-view/#dom-mediaquerylist-media
1896 */
1897 MediaQueryList.prototype.media;
1898
1899 /**
1900 * @type {boolean}
1901 * @see http://www.w3.org/TR/cssom-view/#dom-mediaquerylist-matches
1902 */
1903 MediaQueryList.prototype.matches;
1904
1905 /**
1906 * @param {MediaQueryListListener} listener
1907 * @see http://www.w3.org/TR/cssom-view/#dom-mediaquerylist-addlistener
1908 */
1909 MediaQueryList.prototype.addListener = function(listener) {};
1910
1911 /**
1912 * @param {MediaQueryListListener} listener
1913 * @see http://www.w3.org/TR/cssom-view/#dom-mediaquerylist-removelistener
1914 */
1915 MediaQueryList.prototype.removeListener = function(listener) {};
1916
1917 /**
1918 * @typedef {(function(!MediaQueryList) : void)}
1919 * @see http://www.w3.org/TR/cssom-view/#mediaquerylistlistener
1920 */
1921 var MediaQueryListListener;
1922
1923 /**
1924 * @constructor
1925 * @see http://www.w3.org/TR/cssom-view/#screen
1926 */
1927 function Screen() {}
1928
1929 /**
1930 * @type {number}
1931 * @see http://www.w3.org/TR/cssom-view/#dom-screen-availwidth
1932 */
1933 Screen.prototype.availWidth;
1934
1935 /**
1936 * @type {number}
1937 * @see http://www.w3.org/TR/cssom-view/#dom-screen-availheight
1938 */
1939 Screen.prototype.availHeight;
1940
1941 /**
1942 * @type {number}
1943 * @see http://www.w3.org/TR/cssom-view/#dom-screen-width
1944 */
1945 Screen.prototype.width;
1946
1947 /**
1948 * @type {number}
1949 * @see http://www.w3.org/TR/cssom-view/#dom-screen-height
1950 */
1951 Screen.prototype.height;
1952
1953 /**
1954 * @type {number}
1955 * @see http://www.w3.org/TR/cssom-view/#dom-screen-colordepth
1956 */
1957 Screen.prototype.colorDepth;
1958
1959 /**
1960 * @type {number}
1961 * @see http://www.w3.org/TR/cssom-view/#dom-screen-pixeldepth
1962 */
1963 Screen.prototype.pixelDepth;
1964
1965
1966 // http://www.w3.org/TR/cssom-view/#extensions-to-the-document-interface
1967
1968 /**
1969 * @param {number} x
1970 * @param {number} y
1971 * @return {?Element}
1972 * @see http://www.w3.org/TR/cssom-view/#dom-document-elementfrompoint
1973 */
1974 Document.prototype.elementFromPoint = function(x, y) {};
1975
1976 /**
1977 * @param {number} x
1978 * @param {number} y
1979 * @return {CaretPosition}
1980 * @see http://www.w3.org/TR/cssom-view/#dom-document-caretpositionfrompoint
1981 */
1982 Document.prototype.caretPositionFromPoint = function(x, y) {};
1983
1984
1985 /**
1986 * @constructor
1987 * @see http://www.w3.org/TR/cssom-view/#caretposition
1988 */
1989 function CaretPosition() {}
1990
1991 /**
1992 * @type {Node}
1993 * @see http://www.w3.org/TR/cssom-view/#dom-caretposition-offsetnode
1994 */
1995 CaretPosition.prototype.offsetNode;
1996
1997 /**
1998 * @type {number}
1999 * @see http://www.w3.org/TR/cssom-view/#dom-caretposition-offset
2000 */
2001 CaretPosition.prototype.offset;
2002
2003
2004 // http://www.w3.org/TR/cssom-view/#extensions-to-the-element-interface
2005
2006 /**
2007 * @return {ClientRectList}
2008 * @see http://www.w3.org/TR/cssom-view/#dom-element-getclientrects
2009 */
2010 Element.prototype.getClientRects = function() {};
2011
2012 /**
2013 * @return {ClientRect}
2014 * @see http://www.w3.org/TR/cssom-view/#dom-element-getboundingclientrect
2015 */
2016 Element.prototype.getBoundingClientRect = function() {};
2017
2018 /**
2019 * @param {boolean=} opt_top
2020 * @see http://www.w3.org/TR/cssom-view/#dom-element-scrollintoview
2021 */
2022 Element.prototype.scrollIntoView = function(opt_top) {};
2023
2024 /**
2025 * @type {number}
2026 * @see http://www.w3.org/TR/cssom-view/#dom-element-scrolltop
2027 */
2028 Element.prototype.scrollTop;
2029
2030 /**
2031 * @type {number}
2032 * @see http://www.w3.org/TR/cssom-view/#dom-element-scrollleft
2033 */
2034 Element.prototype.scrollLeft;
2035
2036 /**
2037 * @type {number}
2038 * @see http://www.w3.org/TR/cssom-view/#dom-element-scrollwidth
2039 */
2040 Element.prototype.scrollWidth;
2041
2042 /**
2043 * @type {number}
2044 * @see http://www.w3.org/TR/cssom-view/#dom-element-scrollheight
2045 */
2046 Element.prototype.scrollHeight;
2047
2048 /**
2049 * @type {number}
2050 * @see http://www.w3.org/TR/cssom-view/#dom-element-clienttop
2051 */
2052 Element.prototype.clientTop;
2053
2054 /**
2055 * @type {number}
2056 * @see http://www.w3.org/TR/cssom-view/#dom-element-clientleft
2057 */
2058 Element.prototype.clientLeft;
2059
2060 /**
2061 * @type {number}
2062 * @see http://www.w3.org/TR/cssom-view/#dom-element-clientwidth
2063 */
2064 Element.prototype.clientWidth;
2065
2066 /**
2067 * @type {number}
2068 * @see http://www.w3.org/TR/cssom-view/#dom-element-clientheight
2069 */
2070 Element.prototype.clientHeight;
2071
2072 // http://www.w3.org/TR/cssom-view/#extensions-to-the-htmlelement-interface
2073
2074 /**
2075 * @type {Element}
2076 * @see http://www.w3.org/TR/cssom-view/#dom-htmlelement-offsetparent
2077 */
2078 HTMLElement.prototype.offsetParent;
2079
2080 /**
2081 * @type {number}
2082 * @see http://www.w3.org/TR/cssom-view/#dom-htmlelement-offsettop
2083 */
2084 HTMLElement.prototype.offsetTop;
2085
2086 /**
2087 * @type {number}
2088 * @see http://www.w3.org/TR/cssom-view/#dom-htmlelement-offsetleft
2089 */
2090 HTMLElement.prototype.offsetLeft;
2091
2092 /**
2093 * @type {number}
2094 * @see http://www.w3.org/TR/cssom-view/#dom-htmlelement-offsetwidth
2095 */
2096 HTMLElement.prototype.offsetWidth;
2097
2098 /**
2099 * @type {number}
2100 * @see http://www.w3.org/TR/cssom-view/#dom-htmlelement-offsetheight
2101 */
2102 HTMLElement.prototype.offsetHeight;
2103
2104
2105 // http://www.w3.org/TR/cssom-view/#extensions-to-the-range-interface
2106
2107 /**
2108 * @return {ClientRectList}
2109 * @see http://www.w3.org/TR/cssom-view/#dom-range-getclientrects
2110 */
2111 Range.prototype.getClientRects = function() {};
2112
2113 /**
2114 * @return {ClientRect}
2115 * @see http://www.w3.org/TR/cssom-view/#dom-range-getboundingclientrect
2116 */
2117 Range.prototype.getBoundingClientRect = function() {};
2118
2119
2120 // http://www.w3.org/TR/cssom-view/#extensions-to-the-mouseevent-interface
2121
2122 // MouseEvent: screen{X,Y} and client{X,Y} are in DOM Level 2/3 Event as well,
2123 // so it seems like a specification issue. I've emailed [email protected] in
2124 // hopes of resolving the conflict, but in the mean time they can live here
2125 // (http://lists.w3.org/Archives/Public/www-style/2012May/0039.html).
2126
2127 /**
2128 * @type {number}
2129 * @see http://www.w3.org/TR/cssom-view/#dom-mouseevent-screenx
2130 */
2131 //MouseEvent.prototype.screenX;
2132
2133 /**
2134 * @type {number}
2135 * @see http://www.w3.org/TR/cssom-view/#dom-mouseevent-screeny
2136 */
2137 //MouseEvent.prototype.screenY;
2138
2139 /**
2140 * @type {number}
2141 * @see http://www.w3.org/TR/cssom-view/#dom-mouseevent-pagex
2142 */
2143 MouseEvent.prototype.pageX;
2144
2145 /**
2146 * @type {number}
2147 * @see http://www.w3.org/TR/cssom-view/#dom-mouseevent-pagey
2148 */
2149 MouseEvent.prototype.pageY;
2150
2151 /**
2152 * @type {number}
2153 * @see http://www.w3.org/TR/cssom-view/#dom-mouseevent-clientx
2154 */
2155 //MouseEvent.prototype.clientX;
2156
2157 /**
2158 * @type {number}
2159 * @see http://www.w3.org/TR/cssom-view/#dom-mouseevent-clienty
2160 */
2161 //MouseEvent.prototype.clientY;
2162
2163 /**
2164 * @type {number}
2165 * @see http://www.w3.org/TR/cssom-view/#dom-mouseevent-x
2166 */
2167 MouseEvent.prototype.x;
2168
2169 /**
2170 * @type {number}
2171 * @see http://www.w3.org/TR/cssom-view/#dom-mouseevent-y
2172 */
2173 MouseEvent.prototype.y;
2174
2175 /**
2176 * @type {number}
2177 * @see http://www.w3.org/TR/cssom-view/#dom-mouseevent-offsetx
2178 */
2179 MouseEvent.prototype.offsetX;
2180
2181 /**
2182 * @type {number}
2183 * @see http://www.w3.org/TR/cssom-view/#dom-mouseevent-offsety
2184 */
2185 MouseEvent.prototype.offsetY;
2186
2187
2188 // http://www.w3.org/TR/cssom-view/#rectangles
2189
2190 /**
2191 * @constructor
2192 * @see http://www.w3.org/TR/cssom-view/#the-clientrectlist-interface
2193 */
2194 function ClientRectList() {}
2195
2196 /**
2197 * @type {number}
2198 * @see http://www.w3.org/TR/cssom-view/#dom-clientrectlist-length
2199 */
2200 ClientRectList.prototype.length;
2201
2202 /**
2203 * @param {number} index
2204 * @return {ClientRect}
2205 * @see http://www.w3.org/TR/cssom-view/#dom-clientrectlist-item
2206 */
2207 ClientRectList.prototype.item = function(index) {};
2208
2209 /**
2210 * @constructor
2211 * @see http://www.w3.org/TR/cssom-view/#the-clientrect-interface
2212 */
2213 function ClientRect() {}
2214
2215 /**
2216 * @type {number}
2217 * @see http://www.w3.org/TR/cssom-view/#dom-clientrect-top
2218 */
2219 ClientRect.prototype.top;
2220
2221 /**
2222 * @type {number}
2223 * @see http://www.w3.org/TR/cssom-view/#dom-clientrect-right
2224 */
2225 ClientRect.prototype.right;
2226
2227 /**
2228 * @type {number}
2229 * @see http://www.w3.org/TR/cssom-view/#dom-clientrect-bottom
2230 */
2231 ClientRect.prototype.bottom;
2232
2233 /**
2234 * @type {number}
2235 * @see http://www.w3.org/TR/cssom-view/#dom-clientrect-left
2236 */
2237 ClientRect.prototype.left;
2238
2239 /**
2240 * @type {number}
2241 * @see http://www.w3.org/TR/cssom-view/#dom-clientrect-width
2242 */
2243 ClientRect.prototype.width;
2244
2245 /**
2246 * @type {number}
2247 * @see http://www.w3.org/TR/cssom-view/#dom-clientrect-height
2248 */
2249 ClientRect.prototype.height;