diff --git a/src/dom/CSSProperty.js b/src/dom/CSSProperty.js index 507417ff3b..29b2befd39 100644 --- a/src/dom/CSSProperty.js +++ b/src/dom/CSSProperty.js @@ -22,6 +22,7 @@ * CSS properties which accept numbers but are not in units of "px". */ var isUnitlessNumber = { + columnCount: true, fillOpacity: true, flex: true, flexGrow: true, diff --git a/src/dom/__tests__/CSSPropertyOperations-test.js b/src/dom/__tests__/CSSPropertyOperations-test.js index ae09eff3ba..2612c85d2f 100644 --- a/src/dom/__tests__/CSSPropertyOperations-test.js +++ b/src/dom/__tests__/CSSPropertyOperations-test.js @@ -70,6 +70,7 @@ describe('CSSPropertyOperations', function() { it('should not append `px` to styles that might need a number', function() { var unitlessProperties = [ + 'columnCount', 'fillOpacity', 'flex', 'flexGrow',