Chromium Code Reviews| 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 aaa64e5d9fc99a7cd2c830dca21ba8a46e20972e..984f10d488dc72090da58ce0bfdccd9eed6f7568 100644 |
| --- a/tools/dom/templates/html/impl/impl_CSSStyleDeclaration.darttemplate |
| +++ b/tools/dom/templates/html/impl/impl_CSSStyleDeclaration.darttemplate |
| @@ -918,12 +918,17 @@ $endif |
| } |
| /** 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) { |
|
Jennifer Messerly
2013/07/19 21:09:20
presumably Firefox will implement this natively so
|
| + setProperty('${Device.cssPrefix}box-sizing', value, ''); |
| + } else { |
| + setProperty('box-sizing', value, ''); |
| + } |
| } |
| /** Gets the value of "caption-side" */ |