diff --git a/HEADER.js b/HEADER.js index d447dd87..2c9ab4d1 100644 --- a/HEADER.js +++ b/HEADER.js @@ -55,7 +55,7 @@ fabric.SHARED_ATTRIBUTES = [ 'stroke', 'stroke-dasharray', 'stroke-linecap', 'stroke-dashoffset', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke-width', - 'id', 'paint-order', + 'id', 'paint-order', 'vector-effect', 'instantiated_by_use', 'clip-path' ]; /* _FROM_SVG_END_ */ diff --git a/test/visual/assets/vector-effect.svg b/test/visual/assets/vector-effect.svg new file mode 100644 index 00000000..6f182b10 --- /dev/null +++ b/test/visual/assets/vector-effect.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/test/visual/golden/vector-effect.png b/test/visual/golden/vector-effect.png new file mode 100644 index 00000000..7831d112 Binary files /dev/null and b/test/visual/golden/vector-effect.png differ diff --git a/test/visual/svg_import.js b/test/visual/svg_import.js index 8db822e6..f9d4b844 100644 --- a/test/visual/svg_import.js +++ b/test/visual/svg_import.js @@ -85,6 +85,7 @@ 'clippath-6', 'clippath-7', 'clippath-9', + 'vector-effect' //'clippath-8', ].map(createTestFromSVG);