Skip to content

Commit

Permalink
Merge pull request #6270 from rofrischmann/unitless-css-property
Browse files Browse the repository at this point in the history
added several new unitless properties
  • Loading branch information
jimfb committed Mar 16, 2016
2 parents 93752bb + 318e024 commit 745108f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/renderers/dom/shared/CSSProperty.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
var isUnitlessNumber = {
animationIterationCount: true,
borderImageOutset: true,
borderImageSlice: true,
borderImageWidth: true,
boxFlex: true,
boxFlexGroup: true,
boxOrdinalGroup: true,
Expand All @@ -42,8 +44,11 @@ var isUnitlessNumber = {

// SVG-related properties
fillOpacity: true,
floodOpacity: true,
stopOpacity: true,
strokeDasharray: true,
strokeDashoffset: true,
strokeMiterlimit: true,
strokeOpacity: true,
strokeWidth: true,
};
Expand Down

0 comments on commit 745108f

Please sign in to comment.