CSS column-count property is unitless
Andrew Davey committed
Jan 10, 2014 at 19:12 UTC
d6afb5285e35ccd896361a181bb89b52b37ef570
2 files changed
+2
src/dom/CSSProperty.js
+1
@@ -22,6 +22,7 @@
22
* CSS properties which accept numbers but are not in units of "px".
23
*/
24
var isUnitlessNumber = {
25
+ columnCount: true,
26
fillOpacity: true,
27
flex: true,
28
flexGrow: true,
src/dom/__tests__/CSSPropertyOperations-test.js
+1
@@ -70,6 +70,7 @@ describe('CSSPropertyOperations', function() {
70
71
it('should not append `px` to styles that might need a number', function() {
72
var unitlessProperties = [
73
+ 'columnCount',
74
'fillOpacity',
75
'flex',
76
'flexGrow',