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 html; | 5 part of $LIBRARYNAME; |
6 | 6 |
7 String _cachedBrowserPrefix; | 7 String _cachedBrowserPrefix; |
8 | 8 |
9 String get _browserPrefix { | 9 String get _browserPrefix { |
10 if (_cachedBrowserPrefix == null) { | 10 if (_cachedBrowserPrefix == null) { |
11 if (_Device.isFirefox) { | 11 if (_Device.isFirefox) { |
12 _cachedBrowserPrefix = '-moz-'; | 12 _cachedBrowserPrefix = '-moz-'; |
13 } else if (_Device.isIE) { | 13 } else if (_Device.isIE) { |
14 _cachedBrowserPrefix = '-ms-'; | 14 _cachedBrowserPrefix = '-ms-'; |
15 } else if (_Device.isOpera) { | 15 } else if (_Device.isOpera) { |
(...skipping 3171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3187 | 3187 |
3188 /** Gets the value of "zoom" */ | 3188 /** Gets the value of "zoom" */ |
3189 String get zoom => | 3189 String get zoom => |
3190 getPropertyValue('zoom'); | 3190 getPropertyValue('zoom'); |
3191 | 3191 |
3192 /** Sets the value of "zoom" */ | 3192 /** Sets the value of "zoom" */ |
3193 void set zoom(String value) { | 3193 void set zoom(String value) { |
3194 setProperty('zoom', value, ''); | 3194 setProperty('zoom', value, ''); |
3195 } | 3195 } |
3196 } | 3196 } |
OLD | NEW |