| 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 62da3501d536a54e0f5ff98e78e2730b45e519ba..6f3877a1728c677202539b20c981e38f14c33b50 100644
|
| --- a/sdk/lib/html/dart2js/html_dart2js.dart
|
| +++ b/sdk/lib/html/dart2js/html_dart2js.dart
|
| @@ -3519,12 +3519,17 @@ class CssStyleDeclaration extends Interceptor native "CSSStyleDeclaration,MSStyl
|
| }
|
|
|
| /** Gets the value of "box-sizing" */
|
| - String get boxSizing =>
|
| - getPropertyValue('${Device.cssPrefix}box-sizing');
|
| + String get boxSizing => Device.isFirefox ?
|
| + getPropertyValue('${Device.cssPrefix}box-sizing') :
|
| + getPropertyValue('box-sizing');
|
|
|
| /** Sets the value of "box-sizing" */
|
| void set boxSizing(String value) {
|
| - setProperty('${Device.cssPrefix}box-sizing', value, '');
|
| + if (Device.isFirefox) {
|
| + setProperty('${Device.cssPrefix}box-sizing', value, '');
|
| + } else {
|
| + setProperty('box-sizing', value, '');
|
| + }
|
| }
|
|
|
| /** Gets the value of "caption-side" */
|
|
|