mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Don't add 'px' to strokeDashoffset CSS Properties
This is a SVG CSS Property. The standard expects values or percentages, and adding "px" to the value will break it. http://www.w3.org/TR/SVG/painting.html#StrokeDashoffsetProperty
This commit is contained in:
@@ -34,7 +34,8 @@ var isUnitlessNumber = {
|
||||
// SVG-related properties
|
||||
fillOpacity: true,
|
||||
strokeOpacity: true,
|
||||
strokeWidth: true
|
||||
strokeWidth: true,
|
||||
strokeDashoffset: true
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user