diff --git a/src/parser.js b/src/parser.js index 2f0b5da9..85d3b17b 100644 --- a/src/parser.js +++ b/src/parser.js @@ -49,6 +49,7 @@ opacity: 'opacity', 'clip-path': 'clipPath', 'clip-rule': 'clipRule', + 'vector-effect': 'strokeUniform' }, colorAttributes = { @@ -80,6 +81,9 @@ if ((attr === 'fill' || attr === 'stroke') && value === 'none') { value = ''; } + else if (attr === 'vector-effect') { + value = value === 'non-scaling-stroke'; + } else if (attr === 'strokeDashArray') { if (value === 'none') { value = null;