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

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

Issue 306103004: Updated flex CSS prefix for Firefox. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 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
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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)$(CLASS_MODIFIERS) class $CLASSNAME $EXTENDS with 7 $(ANNOTATIONS)$(CLASS_MODIFIERS) class $CLASSNAME $EXTENDS with
8 $(CLASSNAME)Base $IMPLEMENTS$NATIVESPEC { 8 $(CLASSNAME)Base $IMPLEMENTS$NATIVESPEC {
9 factory $CLASSNAME() => new CssStyleDeclaration.css(''); 9 factory $CLASSNAME() => new CssStyleDeclaration.css('');
10 10
(...skipping 1204 matching lines...) Expand 10 before | Expand all | Expand 10 after
1215 /** Gets the value of "filter" */ 1215 /** Gets the value of "filter" */
1216 String get filter => 1216 String get filter =>
1217 getPropertyValue('${Device.cssPrefix}filter'); 1217 getPropertyValue('${Device.cssPrefix}filter');
1218 1218
1219 /** Sets the value of "filter" */ 1219 /** Sets the value of "filter" */
1220 void set filter(String value) { 1220 void set filter(String value) {
1221 setProperty('${Device.cssPrefix}filter', value, ''); 1221 setProperty('${Device.cssPrefix}filter', value, '');
1222 } 1222 }
1223 1223
1224 /** Gets the value of "flex" */ 1224 /** Gets the value of "flex" */
1225 String get flex => 1225 String get flex {
1226 getPropertyValue('${Device.cssPrefix}flex'); 1226 String prefix = Device.cssPrefix
1227 if (Device.isFirefox) prefix = '';
1228 return getPropertyValue('${prefix}flex');
1229 }
1227 1230
1228 /** Sets the value of "flex" */ 1231 /** Sets the value of "flex" */
1229 void set flex(String value) { 1232 void set flex(String value) {
1230 setProperty('${Device.cssPrefix}flex', value, ''); 1233 String prefix = Device.cssPrefix
1234 if (Device.isFirefox) prefix = '';
1235 setProperty('${prefix}flex', value, '');
1231 } 1236 }
1232 1237
1233 /** Gets the value of "flex-basis" */ 1238 /** Gets the value of "flex-basis" */
1234 String get flexBasis => 1239 String get flexBasis =>
1235 getPropertyValue('${Device.cssPrefix}flex-basis'); 1240 getPropertyValue('${Device.cssPrefix}flex-basis');
1236 1241
1237 /** Sets the value of "flex-basis" */ 1242 /** Sets the value of "flex-basis" */
1238 void set flexBasis(String value) { 1243 void set flexBasis(String value) {
1239 setProperty('${Device.cssPrefix}flex-basis', value, ''); 1244 setProperty('${Device.cssPrefix}flex-basis', value, '');
1240 } 1245 }
(...skipping 2006 matching lines...) Expand 10 before | Expand all | Expand 10 after
3247 3252
3248 /** Gets the value of "zoom" */ 3253 /** Gets the value of "zoom" */
3249 String get zoom => 3254 String get zoom =>
3250 getPropertyValue('zoom'); 3255 getPropertyValue('zoom');
3251 3256
3252 /** Sets the value of "zoom" */ 3257 /** Sets the value of "zoom" */
3253 void set zoom(String value) { 3258 void set zoom(String value) {
3254 setProperty('zoom', value, ''); 3259 setProperty('zoom', value, '');
3255 } 3260 }
3256 } 3261 }
OLDNEW
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698