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

Side by Side Diff: client/html/src/CSSStyleDeclarationWrappingImplementation.dart

Issue 8341027: Fix client/html_tests so they use the new framework. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month 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 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 // WARNING: Do not edit. 5 // WARNING: Do not edit.
6 // This file was generated by html/scripts/css_code_generator.py 6 // This file was generated by html/scripts/css_code_generator.py
7 7
8 // Source of CSS properties: 8 // Source of CSS properties:
9 // Source/WebCore/css/CSSPropertyNames.in 9 // Source/WebCore/css/CSSPropertyNames.in
10 10
11 // TODO(jacobr): add versions that take numeric values in px, miliseconds, etc. 11 // TODO(jacobr): add versions that take numeric values in px, miliseconds, etc.
12 12
13 class CSSStyleDeclarationWrappingImplementation extends DOMWrapperBase implement s CSSStyleDeclaration { 13 class CSSStyleDeclarationWrappingImplementation extends DOMWrapperBase implement s CSSStyleDeclaration {
14 static String _cachedBrowserPrefix; 14 static String _cachedBrowserPrefix;
15 15
16 CSSStyleDeclarationWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} 16 CSSStyleDeclarationWrappingImplementation._wrap(ptr) : super._wrap(ptr) {}
17 17
18 factory CSSStyleDeclarationWrappingImplementation.css(String css) {
19 var style = new Element.tag('div').style;
20 style.cssText = css;
21 return style;
22 }
23
24 factory CSSStyleDeclarationWrappingImplementation() {
25 return new CSSStyleDeclarationWrappingImplementation.css("");
Jacob 2011/10/25 23:45:51 "" --> ''
nweiz 2011/10/26 00:27:37 Done.
26 }
27
18 static String get _browserPrefix() { 28 static String get _browserPrefix() {
19 if (_cachedBrowserPrefix === null) { 29 if (_cachedBrowserPrefix === null) {
20 if (_Device.isFirefox) { 30 if (_Device.isFirefox) {
21 _cachedBrowserPrefix = '-moz-'; 31 _cachedBrowserPrefix = '-moz-';
22 } else { 32 } else {
23 _cachedBrowserPrefix = '-webkit-'; 33 _cachedBrowserPrefix = '-webkit-';
24 } 34 }
25 // TODO(jacobr): support IE 9.0 and Opera as well. 35 // TODO(jacobr): support IE 9.0 and Opera as well.
26 } 36 }
27 return _cachedBrowserPrefix; 37 return _cachedBrowserPrefix;
(...skipping 2798 matching lines...) Expand 10 before | Expand all | Expand 10 after
2826 2836
2827 /** Gets the value of "zoom" */ 2837 /** Gets the value of "zoom" */
2828 String get zoom() => 2838 String get zoom() =>
2829 getPropertyValue('zoom'); 2839 getPropertyValue('zoom');
2830 2840
2831 /** Sets the value of "zoom" */ 2841 /** Sets the value of "zoom" */
2832 void set zoom(String value) { 2842 void set zoom(String value) {
2833 setProperty('zoom', value, ''); 2843 setProperty('zoom', value, '');
2834 } 2844 }
2835 } 2845 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698