OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 part of $LIBRARYNAME; | 5 part of $LIBRARYNAME; |
6 | 6 |
| 7 $!TOPLEVEL |
| 8 |
7 $(ANNOTATIONS)$(CLASS_MODIFIERS) class $CLASSNAME $EXTENDS with | 9 $(ANNOTATIONS)$(CLASS_MODIFIERS) class $CLASSNAME $EXTENDS with |
8 $(CLASSNAME)Base $IMPLEMENTS$NATIVESPEC { | 10 $(CLASSNAME)Base $IMPLEMENTS$NATIVESPEC { |
9 factory $CLASSNAME() => new CssStyleDeclaration.css(''); | 11 factory $CLASSNAME() => new CssStyleDeclaration.css(''); |
10 | 12 |
11 factory $CLASSNAME.css(String css) { | 13 factory $CLASSNAME.css(String css) { |
12 final style = new Element.tag('div').style; | 14 final style = new Element.tag('div').style; |
13 style.cssText = css; | 15 style.cssText = css; |
14 return style; | 16 return style; |
15 } | 17 } |
16 | 18 |
(...skipping 3230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3247 | 3249 |
3248 /** Gets the value of "zoom" */ | 3250 /** Gets the value of "zoom" */ |
3249 String get zoom => | 3251 String get zoom => |
3250 getPropertyValue('zoom'); | 3252 getPropertyValue('zoom'); |
3251 | 3253 |
3252 /** Sets the value of "zoom" */ | 3254 /** Sets the value of "zoom" */ |
3253 void set zoom(String value) { | 3255 void set zoom(String value) { |
3254 setProperty('zoom', value, ''); | 3256 setProperty('zoom', value, ''); |
3255 } | 3257 } |
3256 } | 3258 } |
OLD | NEW |