support standard "cssFloat" css property
For tools that compile CSS may have already converted the name. More info: https://npmjs.com/camelcase-css https://npmjs.com/postcss-js
Steven Vachon committed
Feb 27, 2016 at 01:13 UTC
f68325f5d7dec265095963a96db3355238ff9e95
1 file changed
+1
-1
src/renderers/dom/shared/CSSPropertyOperations.js
+1
-1
@@ -185,7 +185,7 @@ var CSSPropertyOperations = {
185
styles[styleName],
186
component
187
);
188
- if (styleName === 'float') {
188
+ if (styleName === 'float' || styleName === 'cssFloat') {
189
styleName = styleFloatAccessor;
190
}
191
if (styleValue) {