CSS column-count property is unitless

This commit is contained in:
Andrew Davey
2014-01-10 19:12:58 +00:00
parent 423380f9c3
commit d6afb5285e
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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,
@@ -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',