Skip to content

Commit

Permalink
Merge pull request facebook#2482 from BinaryMuse/bkt/fix-stroke-opacity
Browse files Browse the repository at this point in the history
Add strokeOpacity to unitless CSS properties
  • Loading branch information
sophiebits committed Nov 8, 2014
2 parents 78ec250 + 96126e9 commit 7a162ce
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/browser/ui/dom/CSSProperty.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
*/
var isUnitlessNumber = {
columnCount: true,
fillOpacity: true,
flex: true,
flexGrow: true,
flexShrink: true,
Expand All @@ -28,7 +27,11 @@ var isUnitlessNumber = {
orphans: true,
widows: true,
zIndex: true,
zoom: true
zoom: true,

// SVG-related properties
fillOpacity: true,
strokeOpacity: true
};

/**
Expand Down

0 comments on commit 7a162ce

Please sign in to comment.