| 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 $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS) class $CLASSNAME $EXTENDS with | 7 $(ANNOTATIONS)$(CLASS_MODIFIERS) class $CLASSNAME $EXTENDS with |
| 8 $(CLASSNAME)Base $IMPLEMENTS { | 8 $(CLASSNAME)Base $IMPLEMENTS$NATIVESPEC { |
| 9 factory $CLASSNAME() => new CssStyleDeclaration.css(''); | 9 factory $CLASSNAME() => new CssStyleDeclaration.css(''); |
| 10 | 10 |
| 11 factory $CLASSNAME.css(String css) { | 11 factory $CLASSNAME.css(String css) { |
| 12 final style = new Element.tag('div').style; | 12 final style = new Element.tag('div').style; |
| 13 style.cssText = css; | 13 style.cssText = css; |
| 14 return style; | 14 return style; |
| 15 } | 15 } |
| 16 | 16 |
| 17 String getPropertyValue(String propertyName) { | 17 String getPropertyValue(String propertyName) { |
| 18 var propValue = _getPropertyValue(propertyName); | 18 var propValue = _getPropertyValue(propertyName); |
| (...skipping 3234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3253 | 3253 |
| 3254 /** Gets the value of "zoom" */ | 3254 /** Gets the value of "zoom" */ |
| 3255 String get zoom => | 3255 String get zoom => |
| 3256 getPropertyValue('zoom'); | 3256 getPropertyValue('zoom'); |
| 3257 | 3257 |
| 3258 /** Sets the value of "zoom" */ | 3258 /** Sets the value of "zoom" */ |
| 3259 void set zoom(String value) { | 3259 void set zoom(String value) { |
| 3260 setProperty('zoom', value, ''); | 3260 setProperty('zoom', value, ''); |
| 3261 } | 3261 } |
| 3262 } | 3262 } |
| OLD | NEW |