added several new unitless properties
rofrischmann committed
Mar 16, 2016 at 10:04 UTC
318e0243389fb0610ccb9c3f22c44870f3ba0222
1 file changed
+5
src/renderers/dom/shared/CSSProperty.js
+5
@@ -17,6 +17,8 @@
17
var isUnitlessNumber = {
18
animationIterationCount: true,
19
borderImageOutset: true,
20
+ borderImageSlice: true,
21
+ borderImageWidth: true,
22
boxFlex: true,
23
boxFlexGroup: true,
24
boxOrdinalGroup: true,
@@ -42,8 +44,11 @@ var isUnitlessNumber = {
44
45
// SVG-related properties
46
fillOpacity: true,
47
+ floodOpacity: true,
48
stopOpacity: true,
49
+ strokeDasharray: true,
50
strokeDashoffset: true,
51
+ strokeMiterlimit: true,
52
strokeOpacity: true,
53
strokeWidth: true,
54
};