| Index: sdk/lib/html/dart2js/html_dart2js.dart
|
| diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
|
| index 84ebc80eeacff04e78e7e5dd16dea8a8a9dc4090..04dfad6968e46894c4dbb7bc8726300a0da820ee 100644
|
| --- a/sdk/lib/html/dart2js/html_dart2js.dart
|
| +++ b/sdk/lib/html/dart2js/html_dart2js.dart
|
| @@ -2045,6 +2045,7 @@ class CanvasRenderingContext2D extends CanvasRenderingContext native "CanvasRend
|
| /** Deprecated always returns 1.0 */
|
| @DomName('CanvasRenderingContext2D.webkitBackingStorePixelRation')
|
| @Experimental()
|
| + @deprecated
|
| double get backingStorePixelRatio => 1.0;
|
| }
|
|
|
| @@ -4026,12 +4027,17 @@ abstract class CssStyleDeclarationBase {
|
| }
|
|
|
| /** Gets the value of "flex" */
|
| - String get flex =>
|
| - getPropertyValue('${Device.cssPrefix}flex');
|
| + String get flex {
|
| + String prefix = Device.cssPrefix
|
| + if (Device.isFirefox) prefix = '';
|
| + return getPropertyValue('${prefix}flex');
|
| + }
|
|
|
| /** Sets the value of "flex" */
|
| void set flex(String value) {
|
| - setProperty('${Device.cssPrefix}flex', value, '');
|
| + String prefix = Device.cssPrefix
|
| + if (Device.isFirefox) prefix = '';
|
| + setProperty('${prefix}flex', value, '');
|
| }
|
|
|
| /** Gets the value of "flex-basis" */
|
|
|