| Index: tools/dom/templates/html/impl/impl_CSSStyleDeclaration.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_CSSStyleDeclaration.darttemplate b/tools/dom/templates/html/impl/impl_CSSStyleDeclaration.darttemplate
|
| index c0120c2e24c036cbeac620677f8f4406b69da194..61bcde9d4086d05c4a51afa22ad72f244820f1b6 100644
|
| --- a/tools/dom/templates/html/impl/impl_CSSStyleDeclaration.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_CSSStyleDeclaration.darttemplate
|
| @@ -1222,12 +1222,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" */
|
|
|