Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(336)

Side by Side Diff: tools/dom/templates/html/impl/impl_CSSStyleDeclaration.darttemplate

Issue 966803004: Generate fast-path CssStyleDeclaration properties from browser info (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 1
2 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 2 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
3 // for details. All rights reserved. Use of this source code is governed by a 3 // for details. All rights reserved. Use of this source code is governed by a
4 // BSD-style license that can be found in the LICENSE file. 4 // BSD-style license that can be found in the LICENSE file.
5 5
6 // WARNING: DO NOT EDIT THIS TEMPLATE FILE. 6 // WARNING: DO NOT EDIT THIS TEMPLATE FILE.
7 // The template file was generated by scripts/css_code_generator.py 7 // The template file was generated by scripts/css_code_generator.py
8 8
9 // Source of CSS properties: 9 // Source of CSS properties:
10 // CSSPropertyNames.in 10 // CSSPropertyNames.in
11 11
12 part of $LIBRARYNAME; 12 part of $LIBRARYNAME;
13 13
14 $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS) class $CLASSNAME $EXTENDS with 14 $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME $EXTENDS with
15 $(CLASSNAME)Base $IMPLEMENTS { 15 $(CLASSNAME)Base $IMPLEMENTS {
16 factory $CLASSNAME() => new CssStyleDeclaration.css(''); 16 factory $CLASSNAME() => new CssStyleDeclaration.css('');
17 17
18 factory $CLASSNAME.css(String css) { 18 factory $CLASSNAME.css(String css) {
19 final style = new Element.tag('div').style; 19 final style = new Element.tag('div').style;
20 style.cssText = css; 20 style.cssText = css;
21 return style; 21 return style;
22 } 22 }
23 23
24 String getPropertyValue(String propertyName) { 24 String getPropertyValue(String propertyName) {
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 } 119 }
120 _setProperty(propertyName, value, priority); 120 _setProperty(propertyName, value, priority);
121 } 121 }
122 122
123 /** 123 /**
124 * Checks to see if CSS Transitions are supported. 124 * Checks to see if CSS Transitions are supported.
125 */ 125 */
126 static bool get supportsTransitions => true; 126 static bool get supportsTransitions => true;
127 $endif 127 $endif
128 $!MEMBERS 128 $!MEMBERS
129 $if DART2JS
130
131 /** Gets the value of "background" */
132 String get background => JS('String', '#.background', this);
133
134 /** Sets the value of "background" */
135 void set background(String value) {
136 JS('', '#.background = #', this, value == null ? '' : value);
137 }
138
139 /** Gets the value of "background-attachment" */
140 String get backgroundAttachment => JS('String', '#.backgroundAttachment', this );
141
142 /** Sets the value of "background-attachment" */
143 void set backgroundAttachment(String value) {
144 JS('', '#.backgroundAttachment = #', this, value == null ? '' : value);
145 }
146
147 /** Gets the value of "background-clip" */
148 String get backgroundClip => JS('String', '#.backgroundClip', this);
149
150 /** Sets the value of "background-clip" */
151 void set backgroundClip(String value) {
152 JS('', '#.backgroundClip = #', this, value == null ? '' : value);
153 }
154
155 /** Gets the value of "background-color" */
156 String get backgroundColor => JS('String', '#.backgroundColor', this);
157
158 /** Sets the value of "background-color" */
159 void set backgroundColor(String value) {
160 JS('', '#.backgroundColor = #', this, value == null ? '' : value);
161 }
162
163 /** Gets the value of "background-image" */
164 String get backgroundImage => JS('String', '#.backgroundImage', this);
165
166 /** Sets the value of "background-image" */
167 void set backgroundImage(String value) {
168 JS('', '#.backgroundImage = #', this, value == null ? '' : value);
169 }
170
171 /** Gets the value of "background-origin" */
172 String get backgroundOrigin => JS('String', '#.backgroundOrigin', this);
173
174 /** Sets the value of "background-origin" */
175 void set backgroundOrigin(String value) {
176 JS('', '#.backgroundOrigin = #', this, value == null ? '' : value);
177 }
178
179 /** Gets the value of "background-position" */
180 String get backgroundPosition => JS('String', '#.backgroundPosition', this);
181
182 /** Sets the value of "background-position" */
183 void set backgroundPosition(String value) {
184 JS('', '#.backgroundPosition = #', this, value == null ? '' : value);
185 }
186
187 /** Gets the value of "background-repeat" */
188 String get backgroundRepeat => JS('String', '#.backgroundRepeat', this);
189
190 /** Sets the value of "background-repeat" */
191 void set backgroundRepeat(String value) {
192 JS('', '#.backgroundRepeat = #', this, value == null ? '' : value);
193 }
194
195 /** Gets the value of "background-size" */
196 String get backgroundSize => JS('String', '#.backgroundSize', this);
197
198 /** Sets the value of "background-size" */
199 void set backgroundSize(String value) {
200 JS('', '#.backgroundSize = #', this, value == null ? '' : value);
201 }
202
203 /** Gets the value of "border" */
204 String get border => JS('String', '#.border', this);
205
206 /** Sets the value of "border" */
207 void set border(String value) {
208 JS('', '#.border = #', this, value == null ? '' : value);
209 }
210
211 /** Gets the value of "border-bottom" */
212 String get borderBottom => JS('String', '#.borderBottom', this);
213
214 /** Sets the value of "border-bottom" */
215 void set borderBottom(String value) {
216 JS('', '#.borderBottom = #', this, value == null ? '' : value);
217 }
218
219 /** Gets the value of "border-bottom-color" */
220 String get borderBottomColor => JS('String', '#.borderBottomColor', this);
221
222 /** Sets the value of "border-bottom-color" */
223 void set borderBottomColor(String value) {
224 JS('', '#.borderBottomColor = #', this, value == null ? '' : value);
225 }
226
227 /** Gets the value of "border-bottom-left-radius" */
228 String get borderBottomLeftRadius => JS('String', '#.borderBottomLeftRadius', this);
229
230 /** Sets the value of "border-bottom-left-radius" */
231 void set borderBottomLeftRadius(String value) {
232 JS('', '#.borderBottomLeftRadius = #', this, value == null ? '' : value);
233 }
234
235 /** Gets the value of "border-bottom-right-radius" */
236 String get borderBottomRightRadius => JS('String', '#.borderBottomRightRadius' , this);
237
238 /** Sets the value of "border-bottom-right-radius" */
239 void set borderBottomRightRadius(String value) {
240 JS('', '#.borderBottomRightRadius = #', this, value == null ? '' : value);
241 }
242
243 /** Gets the value of "border-bottom-style" */
244 String get borderBottomStyle => JS('String', '#.borderBottomStyle', this);
245
246 /** Sets the value of "border-bottom-style" */
247 void set borderBottomStyle(String value) {
248 JS('', '#.borderBottomStyle = #', this, value == null ? '' : value);
249 }
250
251 /** Gets the value of "border-bottom-width" */
252 String get borderBottomWidth => JS('String', '#.borderBottomWidth', this);
253
254 /** Sets the value of "border-bottom-width" */
255 void set borderBottomWidth(String value) {
256 JS('', '#.borderBottomWidth = #', this, value == null ? '' : value);
257 }
258
259 /** Gets the value of "border-collapse" */
260 String get borderCollapse => JS('String', '#.borderCollapse', this);
261
262 /** Sets the value of "border-collapse" */
263 void set borderCollapse(String value) {
264 JS('', '#.borderCollapse = #', this, value == null ? '' : value);
265 }
266
267 /** Gets the value of "border-color" */
268 String get borderColor => JS('String', '#.borderColor', this);
269
270 /** Sets the value of "border-color" */
271 void set borderColor(String value) {
272 JS('', '#.borderColor = #', this, value == null ? '' : value);
273 }
274
275 /** Gets the value of "border-left" */
276 String get borderLeft => JS('String', '#.borderLeft', this);
277
278 /** Sets the value of "border-left" */
279 void set borderLeft(String value) {
280 JS('', '#.borderLeft = #', this, value == null ? '' : value);
281 }
282
283 /** Gets the value of "border-left-color" */
284 String get borderLeftColor => JS('String', '#.borderLeftColor', this);
285
286 /** Sets the value of "border-left-color" */
287 void set borderLeftColor(String value) {
288 JS('', '#.borderLeftColor = #', this, value == null ? '' : value);
289 }
290
291 /** Gets the value of "border-left-style" */
292 String get borderLeftStyle => JS('String', '#.borderLeftStyle', this);
293
294 /** Sets the value of "border-left-style" */
295 void set borderLeftStyle(String value) {
296 JS('', '#.borderLeftStyle = #', this, value == null ? '' : value);
297 }
298
299 /** Gets the value of "border-left-width" */
300 String get borderLeftWidth => JS('String', '#.borderLeftWidth', this);
301
302 /** Sets the value of "border-left-width" */
303 void set borderLeftWidth(String value) {
304 JS('', '#.borderLeftWidth = #', this, value == null ? '' : value);
305 }
306
307 /** Gets the value of "border-radius" */
308 String get borderRadius => JS('String', '#.borderRadius', this);
309
310 /** Sets the value of "border-radius" */
311 void set borderRadius(String value) {
312 JS('', '#.borderRadius = #', this, value == null ? '' : value);
313 }
314
315 /** Gets the value of "border-right" */
316 String get borderRight => JS('String', '#.borderRight', this);
317
318 /** Sets the value of "border-right" */
319 void set borderRight(String value) {
320 JS('', '#.borderRight = #', this, value == null ? '' : value);
321 }
322
323 /** Gets the value of "border-right-color" */
324 String get borderRightColor => JS('String', '#.borderRightColor', this);
325
326 /** Sets the value of "border-right-color" */
327 void set borderRightColor(String value) {
328 JS('', '#.borderRightColor = #', this, value == null ? '' : value);
329 }
330
331 /** Gets the value of "border-right-style" */
332 String get borderRightStyle => JS('String', '#.borderRightStyle', this);
333
334 /** Sets the value of "border-right-style" */
335 void set borderRightStyle(String value) {
336 JS('', '#.borderRightStyle = #', this, value == null ? '' : value);
337 }
338
339 /** Gets the value of "border-right-width" */
340 String get borderRightWidth => JS('String', '#.borderRightWidth', this);
341
342 /** Sets the value of "border-right-width" */
343 void set borderRightWidth(String value) {
344 JS('', '#.borderRightWidth = #', this, value == null ? '' : value);
345 }
346
347 /** Gets the value of "border-spacing" */
348 String get borderSpacing => JS('String', '#.borderSpacing', this);
349
350 /** Sets the value of "border-spacing" */
351 void set borderSpacing(String value) {
352 JS('', '#.borderSpacing = #', this, value == null ? '' : value);
353 }
354
355 /** Gets the value of "border-style" */
356 String get borderStyle => JS('String', '#.borderStyle', this);
357
358 /** Sets the value of "border-style" */
359 void set borderStyle(String value) {
360 JS('', '#.borderStyle = #', this, value == null ? '' : value);
361 }
362
363 /** Gets the value of "border-top" */
364 String get borderTop => JS('String', '#.borderTop', this);
365
366 /** Sets the value of "border-top" */
367 void set borderTop(String value) {
368 JS('', '#.borderTop = #', this, value == null ? '' : value);
369 }
370
371 /** Gets the value of "border-top-color" */
372 String get borderTopColor => JS('String', '#.borderTopColor', this);
373
374 /** Sets the value of "border-top-color" */
375 void set borderTopColor(String value) {
376 JS('', '#.borderTopColor = #', this, value == null ? '' : value);
377 }
378
379 /** Gets the value of "border-top-left-radius" */
380 String get borderTopLeftRadius => JS('String', '#.borderTopLeftRadius', this);
381
382 /** Sets the value of "border-top-left-radius" */
383 void set borderTopLeftRadius(String value) {
384 JS('', '#.borderTopLeftRadius = #', this, value == null ? '' : value);
385 }
386
387 /** Gets the value of "border-top-right-radius" */
388 String get borderTopRightRadius => JS('String', '#.borderTopRightRadius', this );
389
390 /** Sets the value of "border-top-right-radius" */
391 void set borderTopRightRadius(String value) {
392 JS('', '#.borderTopRightRadius = #', this, value == null ? '' : value);
393 }
394
395 /** Gets the value of "border-top-style" */
396 String get borderTopStyle => JS('String', '#.borderTopStyle', this);
397
398 /** Sets the value of "border-top-style" */
399 void set borderTopStyle(String value) {
400 JS('', '#.borderTopStyle = #', this, value == null ? '' : value);
401 }
402
403 /** Gets the value of "border-top-width" */
404 String get borderTopWidth => JS('String', '#.borderTopWidth', this);
405
406 /** Sets the value of "border-top-width" */
407 void set borderTopWidth(String value) {
408 JS('', '#.borderTopWidth = #', this, value == null ? '' : value);
409 }
410
411 /** Gets the value of "border-width" */
412 String get borderWidth => JS('String', '#.borderWidth', this);
413
414 /** Sets the value of "border-width" */
415 void set borderWidth(String value) {
416 JS('', '#.borderWidth = #', this, value == null ? '' : value);
417 }
418
419 /** Gets the value of "bottom" */
420 String get bottom => JS('String', '#.bottom', this);
421
422 /** Sets the value of "bottom" */
423 void set bottom(String value) {
424 JS('', '#.bottom = #', this, value == null ? '' : value);
425 }
426
427 /** Gets the value of "box-shadow" */
428 String get boxShadow => JS('String', '#.boxShadow', this);
429
430 /** Sets the value of "box-shadow" */
431 void set boxShadow(String value) {
432 JS('', '#.boxShadow = #', this, value == null ? '' : value);
433 }
434
435 /** Gets the value of "box-sizing" */
436 String get boxSizing => JS('String', '#.boxSizing', this);
437
438 /** Sets the value of "box-sizing" */
439 void set boxSizing(String value) {
440 JS('', '#.boxSizing = #', this, value == null ? '' : value);
441 }
442
443 /** Gets the value of "caption-side" */
444 String get captionSide => JS('String', '#.captionSide', this);
445
446 /** Sets the value of "caption-side" */
447 void set captionSide(String value) {
448 JS('', '#.captionSide = #', this, value == null ? '' : value);
449 }
450
451 /** Gets the value of "clear" */
452 String get clear => JS('String', '#.clear', this);
453
454 /** Sets the value of "clear" */
455 void set clear(String value) {
456 JS('', '#.clear = #', this, value == null ? '' : value);
457 }
458
459 /** Gets the value of "clip" */
460 String get clip => JS('String', '#.clip', this);
461
462 /** Sets the value of "clip" */
463 void set clip(String value) {
464 JS('', '#.clip = #', this, value == null ? '' : value);
465 }
466
467 /** Gets the value of "clip-path" */
468 String get clipPath => JS('String', '#.clipPath', this);
469
470 /** Sets the value of "clip-path" */
471 void set clipPath(String value) {
472 JS('', '#.clipPath = #', this, value == null ? '' : value);
473 }
474
475 /** Gets the value of "color" */
476 String get color => JS('String', '#.color', this);
477
478 /** Sets the value of "color" */
479 void set color(String value) {
480 JS('', '#.color = #', this, value == null ? '' : value);
481 }
482
483 /** Gets the value of "content" */
484 String get content => JS('String', '#.content', this);
485
486 /** Sets the value of "content" */
487 void set content(String value) {
488 JS('', '#.content = #', this, value == null ? '' : value);
489 }
490
491 /** Gets the value of "counter-increment" */
492 String get counterIncrement => JS('String', '#.counterIncrement', this);
493
494 /** Sets the value of "counter-increment" */
495 void set counterIncrement(String value) {
496 JS('', '#.counterIncrement = #', this, value == null ? '' : value);
497 }
498
499 /** Gets the value of "counter-reset" */
500 String get counterReset => JS('String', '#.counterReset', this);
501
502 /** Sets the value of "counter-reset" */
503 void set counterReset(String value) {
504 JS('', '#.counterReset = #', this, value == null ? '' : value);
505 }
506
507 /** Gets the value of "cursor" */
508 String get cursor => JS('String', '#.cursor', this);
509
510 /** Sets the value of "cursor" */
511 void set cursor(String value) {
512 JS('', '#.cursor = #', this, value == null ? '' : value);
513 }
514
515 /** Gets the value of "direction" */
516 String get direction => JS('String', '#.direction', this);
517
518 /** Sets the value of "direction" */
519 void set direction(String value) {
520 JS('', '#.direction = #', this, value == null ? '' : value);
521 }
522
523 /** Gets the value of "display" */
524 String get display => JS('String', '#.display', this);
525
526 /** Sets the value of "display" */
527 void set display(String value) {
528 JS('', '#.display = #', this, value == null ? '' : value);
529 }
530
531 /** Gets the value of "empty-cells" */
532 String get emptyCells => JS('String', '#.emptyCells', this);
533
534 /** Sets the value of "empty-cells" */
535 void set emptyCells(String value) {
536 JS('', '#.emptyCells = #', this, value == null ? '' : value);
537 }
538
539 /** Gets the value of "filter" */
540 String get filter => JS('String', '#.filter', this);
541
542 /** Sets the value of "filter" */
543 void set filter(String value) {
544 JS('', '#.filter = #', this, value == null ? '' : value);
545 }
546
547 /** Gets the value of "font" */
548 String get font => JS('String', '#.font', this);
549
550 /** Sets the value of "font" */
551 void set font(String value) {
552 JS('', '#.font = #', this, value == null ? '' : value);
553 }
554
555 /** Gets the value of "font-family" */
556 String get fontFamily => JS('String', '#.fontFamily', this);
557
558 /** Sets the value of "font-family" */
559 void set fontFamily(String value) {
560 JS('', '#.fontFamily = #', this, value == null ? '' : value);
561 }
562
563 /** Gets the value of "font-size" */
564 String get fontSize => JS('String', '#.fontSize', this);
565
566 /** Sets the value of "font-size" */
567 void set fontSize(String value) {
568 JS('', '#.fontSize = #', this, value == null ? '' : value);
569 }
570
571 /** Gets the value of "font-stretch" */
572 String get fontStretch => JS('String', '#.fontStretch', this);
573
574 /** Sets the value of "font-stretch" */
575 void set fontStretch(String value) {
576 JS('', '#.fontStretch = #', this, value == null ? '' : value);
577 }
578
579 /** Gets the value of "font-style" */
580 String get fontStyle => JS('String', '#.fontStyle', this);
581
582 /** Sets the value of "font-style" */
583 void set fontStyle(String value) {
584 JS('', '#.fontStyle = #', this, value == null ? '' : value);
585 }
586
587 /** Gets the value of "font-variant" */
588 String get fontVariant => JS('String', '#.fontVariant', this);
589
590 /** Sets the value of "font-variant" */
591 void set fontVariant(String value) {
592 JS('', '#.fontVariant = #', this, value == null ? '' : value);
593 }
594
595 /** Gets the value of "font-weight" */
596 String get fontWeight => JS('String', '#.fontWeight', this);
597
598 /** Sets the value of "font-weight" */
599 void set fontWeight(String value) {
600 JS('', '#.fontWeight = #', this, value == null ? '' : value);
601 }
602
603 /** Gets the value of "height" */
604 String get height => JS('String', '#.height', this);
605
606 /** Sets the value of "height" */
607 void set height(String value) {
608 JS('', '#.height = #', this, value == null ? '' : value);
609 }
610
611 /** Gets the value of "left" */
612 String get left => JS('String', '#.left', this);
613
614 /** Sets the value of "left" */
615 void set left(String value) {
616 JS('', '#.left = #', this, value == null ? '' : value);
617 }
618
619 /** Gets the value of "letter-spacing" */
620 String get letterSpacing => JS('String', '#.letterSpacing', this);
621
622 /** Sets the value of "letter-spacing" */
623 void set letterSpacing(String value) {
624 JS('', '#.letterSpacing = #', this, value == null ? '' : value);
625 }
626
627 /** Gets the value of "line-height" */
628 String get lineHeight => JS('String', '#.lineHeight', this);
629
630 /** Sets the value of "line-height" */
631 void set lineHeight(String value) {
632 JS('', '#.lineHeight = #', this, value == null ? '' : value);
633 }
634
635 /** Gets the value of "list-style" */
636 String get listStyle => JS('String', '#.listStyle', this);
637
638 /** Sets the value of "list-style" */
639 void set listStyle(String value) {
640 JS('', '#.listStyle = #', this, value == null ? '' : value);
641 }
642
643 /** Gets the value of "list-style-image" */
644 String get listStyleImage => JS('String', '#.listStyleImage', this);
645
646 /** Sets the value of "list-style-image" */
647 void set listStyleImage(String value) {
648 JS('', '#.listStyleImage = #', this, value == null ? '' : value);
649 }
650
651 /** Gets the value of "list-style-position" */
652 String get listStylePosition => JS('String', '#.listStylePosition', this);
653
654 /** Sets the value of "list-style-position" */
655 void set listStylePosition(String value) {
656 JS('', '#.listStylePosition = #', this, value == null ? '' : value);
657 }
658
659 /** Gets the value of "list-style-type" */
660 String get listStyleType => JS('String', '#.listStyleType', this);
661
662 /** Sets the value of "list-style-type" */
663 void set listStyleType(String value) {
664 JS('', '#.listStyleType = #', this, value == null ? '' : value);
665 }
666
667 /** Gets the value of "margin" */
668 String get margin => JS('String', '#.margin', this);
669
670 /** Sets the value of "margin" */
671 void set margin(String value) {
672 JS('', '#.margin = #', this, value == null ? '' : value);
673 }
674
675 /** Gets the value of "margin-bottom" */
676 String get marginBottom => JS('String', '#.marginBottom', this);
677
678 /** Sets the value of "margin-bottom" */
679 void set marginBottom(String value) {
680 JS('', '#.marginBottom = #', this, value == null ? '' : value);
681 }
682
683 /** Gets the value of "margin-left" */
684 String get marginLeft => JS('String', '#.marginLeft', this);
685
686 /** Sets the value of "margin-left" */
687 void set marginLeft(String value) {
688 JS('', '#.marginLeft = #', this, value == null ? '' : value);
689 }
690
691 /** Gets the value of "margin-right" */
692 String get marginRight => JS('String', '#.marginRight', this);
693
694 /** Sets the value of "margin-right" */
695 void set marginRight(String value) {
696 JS('', '#.marginRight = #', this, value == null ? '' : value);
697 }
698
699 /** Gets the value of "margin-top" */
700 String get marginTop => JS('String', '#.marginTop', this);
701
702 /** Sets the value of "margin-top" */
703 void set marginTop(String value) {
704 JS('', '#.marginTop = #', this, value == null ? '' : value);
705 }
706
707 /** Gets the value of "mask" */
708 String get mask => JS('String', '#.mask', this);
709
710 /** Sets the value of "mask" */
711 void set mask(String value) {
712 JS('', '#.mask = #', this, value == null ? '' : value);
713 }
714
715 /** Gets the value of "max-height" */
716 String get maxHeight => JS('String', '#.maxHeight', this);
717
718 /** Sets the value of "max-height" */
719 void set maxHeight(String value) {
720 JS('', '#.maxHeight = #', this, value == null ? '' : value);
721 }
722
723 /** Gets the value of "max-width" */
724 String get maxWidth => JS('String', '#.maxWidth', this);
725
726 /** Sets the value of "max-width" */
727 void set maxWidth(String value) {
728 JS('', '#.maxWidth = #', this, value == null ? '' : value);
729 }
730
731 /** Gets the value of "min-height" */
732 String get minHeight => JS('String', '#.minHeight', this);
733
734 /** Sets the value of "min-height" */
735 void set minHeight(String value) {
736 JS('', '#.minHeight = #', this, value == null ? '' : value);
737 }
738
739 /** Gets the value of "min-width" */
740 String get minWidth => JS('String', '#.minWidth', this);
741
742 /** Sets the value of "min-width" */
743 void set minWidth(String value) {
744 JS('', '#.minWidth = #', this, value == null ? '' : value);
745 }
746
747 /** Gets the value of "opacity" */
748 String get opacity => JS('String', '#.opacity', this);
749
750 /** Sets the value of "opacity" */
751 void set opacity(String value) {
752 JS('', '#.opacity = #', this, value == null ? '' : value);
753 }
754
755 /** Gets the value of "orphans" */
756 String get orphans => JS('String', '#.orphans', this);
757
758 /** Sets the value of "orphans" */
759 void set orphans(String value) {
760 JS('', '#.orphans = #', this, value == null ? '' : value);
761 }
762
763 /** Gets the value of "outline" */
764 String get outline => JS('String', '#.outline', this);
765
766 /** Sets the value of "outline" */
767 void set outline(String value) {
768 JS('', '#.outline = #', this, value == null ? '' : value);
769 }
770
771 /** Gets the value of "outline-color" */
772 String get outlineColor => JS('String', '#.outlineColor', this);
773
774 /** Sets the value of "outline-color" */
775 void set outlineColor(String value) {
776 JS('', '#.outlineColor = #', this, value == null ? '' : value);
777 }
778
779 /** Gets the value of "outline-style" */
780 String get outlineStyle => JS('String', '#.outlineStyle', this);
781
782 /** Sets the value of "outline-style" */
783 void set outlineStyle(String value) {
784 JS('', '#.outlineStyle = #', this, value == null ? '' : value);
785 }
786
787 /** Gets the value of "outline-width" */
788 String get outlineWidth => JS('String', '#.outlineWidth', this);
789
790 /** Sets the value of "outline-width" */
791 void set outlineWidth(String value) {
792 JS('', '#.outlineWidth = #', this, value == null ? '' : value);
793 }
794
795 /** Gets the value of "overflow" */
796 String get overflow => JS('String', '#.overflow', this);
797
798 /** Sets the value of "overflow" */
799 void set overflow(String value) {
800 JS('', '#.overflow = #', this, value == null ? '' : value);
801 }
802
803 /** Gets the value of "overflow-x" */
804 String get overflowX => JS('String', '#.overflowX', this);
805
806 /** Sets the value of "overflow-x" */
807 void set overflowX(String value) {
808 JS('', '#.overflowX = #', this, value == null ? '' : value);
809 }
810
811 /** Gets the value of "overflow-y" */
812 String get overflowY => JS('String', '#.overflowY', this);
813
814 /** Sets the value of "overflow-y" */
815 void set overflowY(String value) {
816 JS('', '#.overflowY = #', this, value == null ? '' : value);
817 }
818
819 /** Gets the value of "padding" */
820 String get padding => JS('String', '#.padding', this);
821
822 /** Sets the value of "padding" */
823 void set padding(String value) {
824 JS('', '#.padding = #', this, value == null ? '' : value);
825 }
826
827 /** Gets the value of "padding-bottom" */
828 String get paddingBottom => JS('String', '#.paddingBottom', this);
829
830 /** Sets the value of "padding-bottom" */
831 void set paddingBottom(String value) {
832 JS('', '#.paddingBottom = #', this, value == null ? '' : value);
833 }
834
835 /** Gets the value of "padding-left" */
836 String get paddingLeft => JS('String', '#.paddingLeft', this);
837
838 /** Sets the value of "padding-left" */
839 void set paddingLeft(String value) {
840 JS('', '#.paddingLeft = #', this, value == null ? '' : value);
841 }
842
843 /** Gets the value of "padding-right" */
844 String get paddingRight => JS('String', '#.paddingRight', this);
845
846 /** Sets the value of "padding-right" */
847 void set paddingRight(String value) {
848 JS('', '#.paddingRight = #', this, value == null ? '' : value);
849 }
850
851 /** Gets the value of "padding-top" */
852 String get paddingTop => JS('String', '#.paddingTop', this);
853
854 /** Sets the value of "padding-top" */
855 void set paddingTop(String value) {
856 JS('', '#.paddingTop = #', this, value == null ? '' : value);
857 }
858
859 /** Gets the value of "page-break-after" */
860 String get pageBreakAfter => JS('String', '#.pageBreakAfter', this);
861
862 /** Sets the value of "page-break-after" */
863 void set pageBreakAfter(String value) {
864 JS('', '#.pageBreakAfter = #', this, value == null ? '' : value);
865 }
866
867 /** Gets the value of "page-break-before" */
868 String get pageBreakBefore => JS('String', '#.pageBreakBefore', this);
869
870 /** Sets the value of "page-break-before" */
871 void set pageBreakBefore(String value) {
872 JS('', '#.pageBreakBefore = #', this, value == null ? '' : value);
873 }
874
875 /** Gets the value of "page-break-inside" */
876 String get pageBreakInside => JS('String', '#.pageBreakInside', this);
877
878 /** Sets the value of "page-break-inside" */
879 void set pageBreakInside(String value) {
880 JS('', '#.pageBreakInside = #', this, value == null ? '' : value);
881 }
882
883 /** Gets the value of "pointer-events" */
884 String get pointerEvents => JS('String', '#.pointerEvents', this);
885
886 /** Sets the value of "pointer-events" */
887 void set pointerEvents(String value) {
888 JS('', '#.pointerEvents = #', this, value == null ? '' : value);
889 }
890
891 /** Gets the value of "position" */
892 String get position => JS('String', '#.position', this);
893
894 /** Sets the value of "position" */
895 void set position(String value) {
896 JS('', '#.position = #', this, value == null ? '' : value);
897 }
898
899 /** Gets the value of "quotes" */
900 String get quotes => JS('String', '#.quotes', this);
901
902 /** Sets the value of "quotes" */
903 void set quotes(String value) {
904 JS('', '#.quotes = #', this, value == null ? '' : value);
905 }
906
907 /** Gets the value of "right" */
908 String get right => JS('String', '#.right', this);
909
910 /** Sets the value of "right" */
911 void set right(String value) {
912 JS('', '#.right = #', this, value == null ? '' : value);
913 }
914
915 /** Gets the value of "table-layout" */
916 String get tableLayout => JS('String', '#.tableLayout', this);
917
918 /** Sets the value of "table-layout" */
919 void set tableLayout(String value) {
920 JS('', '#.tableLayout = #', this, value == null ? '' : value);
921 }
922
923 /** Gets the value of "text-align" */
924 String get textAlign => JS('String', '#.textAlign', this);
925
926 /** Sets the value of "text-align" */
927 void set textAlign(String value) {
928 JS('', '#.textAlign = #', this, value == null ? '' : value);
929 }
930
931 /** Gets the value of "text-decoration" */
932 String get textDecoration => JS('String', '#.textDecoration', this);
933
934 /** Sets the value of "text-decoration" */
935 void set textDecoration(String value) {
936 JS('', '#.textDecoration = #', this, value == null ? '' : value);
937 }
938
939 /** Gets the value of "text-indent" */
940 String get textIndent => JS('String', '#.textIndent', this);
941
942 /** Sets the value of "text-indent" */
943 void set textIndent(String value) {
944 JS('', '#.textIndent = #', this, value == null ? '' : value);
945 }
946
947 /** Gets the value of "text-overflow" */
948 String get textOverflow => JS('String', '#.textOverflow', this);
949
950 /** Sets the value of "text-overflow" */
951 void set textOverflow(String value) {
952 JS('', '#.textOverflow = #', this, value == null ? '' : value);
953 }
954
955 /** Gets the value of "text-transform" */
956 String get textTransform => JS('String', '#.textTransform', this);
957
958 /** Sets the value of "text-transform" */
959 void set textTransform(String value) {
960 JS('', '#.textTransform = #', this, value == null ? '' : value);
961 }
962
963 /** Gets the value of "top" */
964 String get top => JS('String', '#.top', this);
965
966 /** Sets the value of "top" */
967 void set top(String value) {
968 JS('', '#.top = #', this, value == null ? '' : value);
969 }
970
971 /** Gets the value of "unicode-bidi" */
972 String get unicodeBidi => JS('String', '#.unicodeBidi', this);
973
974 /** Sets the value of "unicode-bidi" */
975 void set unicodeBidi(String value) {
976 JS('', '#.unicodeBidi = #', this, value == null ? '' : value);
977 }
978
979 /** Gets the value of "vertical-align" */
980 String get verticalAlign => JS('String', '#.verticalAlign', this);
981
982 /** Sets the value of "vertical-align" */
983 void set verticalAlign(String value) {
984 JS('', '#.verticalAlign = #', this, value == null ? '' : value);
985 }
986
987 /** Gets the value of "visibility" */
988 String get visibility => JS('String', '#.visibility', this);
989
990 /** Sets the value of "visibility" */
991 void set visibility(String value) {
992 JS('', '#.visibility = #', this, value == null ? '' : value);
993 }
994
995 /** Gets the value of "white-space" */
996 String get whiteSpace => JS('String', '#.whiteSpace', this);
997
998 /** Sets the value of "white-space" */
999 void set whiteSpace(String value) {
1000 JS('', '#.whiteSpace = #', this, value == null ? '' : value);
1001 }
1002
1003 /** Gets the value of "widows" */
1004 String get widows => JS('String', '#.widows', this);
1005
1006 /** Sets the value of "widows" */
1007 void set widows(String value) {
1008 JS('', '#.widows = #', this, value == null ? '' : value);
1009 }
1010
1011 /** Gets the value of "width" */
1012 String get width => JS('String', '#.width', this);
1013
1014 /** Sets the value of "width" */
1015 void set width(String value) {
1016 JS('', '#.width = #', this, value == null ? '' : value);
1017 }
1018
1019 /** Gets the value of "word-break" */
1020 String get wordBreak => JS('String', '#.wordBreak', this);
1021
1022 /** Sets the value of "word-break" */
1023 void set wordBreak(String value) {
1024 JS('', '#.wordBreak = #', this, value == null ? '' : value);
1025 }
1026
1027 /** Gets the value of "word-spacing" */
1028 String get wordSpacing => JS('String', '#.wordSpacing', this);
1029
1030 /** Sets the value of "word-spacing" */
1031 void set wordSpacing(String value) {
1032 JS('', '#.wordSpacing = #', this, value == null ? '' : value);
1033 }
1034
1035 /** Gets the value of "word-wrap" */
1036 String get wordWrap => JS('String', '#.wordWrap', this);
1037
1038 /** Sets the value of "word-wrap" */
1039 void set wordWrap(String value) {
1040 JS('', '#.wordWrap = #', this, value == null ? '' : value);
1041 }
1042
1043 /** Gets the value of "z-index" */
1044 String get zIndex => JS('String', '#.zIndex', this);
1045
1046 /** Sets the value of "z-index" */
1047 void set zIndex(String value) {
1048 JS('', '#.zIndex = #', this, value == null ? '' : value);
1049 }
1050
1051 $endif
129 } 1052 }
130 1053
131 class _CssStyleDeclarationSet extends Object with CssStyleDeclarationBase { 1054 class _CssStyleDeclarationSet extends Object with CssStyleDeclarationBase {
132 final Iterable<Element> _elementIterable; 1055 final Iterable<Element> _elementIterable;
133 Iterable<CssStyleDeclaration> _elementCssStyleDeclarationSetIterable; 1056 Iterable<CssStyleDeclaration> _elementCssStyleDeclarationSetIterable;
134 1057
135 _CssStyleDeclarationSet(this._elementIterable) { 1058 _CssStyleDeclarationSet(this._elementIterable) {
136 _elementCssStyleDeclarationSetIterable = new List.from( 1059 _elementCssStyleDeclarationSetIterable = new List.from(
137 _elementIterable).map((e) => e.style); 1060 _elementIterable).map((e) => e.style);
138 } 1061 }
(...skipping 3094 matching lines...) Expand 10 before | Expand all | Expand 10 after
3233 4156
3234 /** Gets the value of "zoom" */ 4157 /** Gets the value of "zoom" */
3235 String get zoom => 4158 String get zoom =>
3236 getPropertyValue('zoom'); 4159 getPropertyValue('zoom');
3237 4160
3238 /** Sets the value of "zoom" */ 4161 /** Sets the value of "zoom" */
3239 void set zoom(String value) { 4162 void set zoom(String value) {
3240 setProperty('zoom', value, ''); 4163 setProperty('zoom', value, '');
3241 } 4164 }
3242 } 4165 }
OLDNEW
« tools/dom/scripts/css_code_generator.py ('K') | « tools/dom/scripts/css_code_generator.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698