From f68325f5d7dec265095963a96db3355238ff9e95 Mon Sep 17 00:00:00 2001 From: Steven Vachon Date: Sat, 27 Feb 2016 01:13:15 -0500 Subject: [PATCH] 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 --- src/renderers/dom/shared/CSSPropertyOperations.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderers/dom/shared/CSSPropertyOperations.js b/src/renderers/dom/shared/CSSPropertyOperations.js index 426b38ddb0f82..5044488c8cf97 100644 --- a/src/renderers/dom/shared/CSSPropertyOperations.js +++ b/src/renderers/dom/shared/CSSPropertyOperations.js @@ -185,7 +185,7 @@ var CSSPropertyOperations = { styles[styleName], component ); - if (styleName === 'float') { + if (styleName === 'float' || styleName === 'cssFloat') { styleName = styleFloatAccessor; } if (styleValue) {