snabbdom-pragma icon indicating copy to clipboard operation
snabbdom-pragma copied to clipboard

'animate', 'animateTransform' are SVG elements

Open aronallen opened this issue 8 years ago • 3 comments

Hi,

animate and animateTransform need to be identified as SVG elements.

aronallen avatar May 29 '17 09:05 aronallen

Will be done soon. With all SVG elements.

Source : https://developer.mozilla.org/en/docs/Web/SVG/Element

Swizz avatar May 29 '17 13:05 Swizz

Hi @Swizz

updating this up too for <use> as it's also SVG elements, since lately it's been widely used to retrieve SVG sprites.

I tried adding use in the whitelisted svg element on your dist/index.js and it works.

Reference: https://www.npmjs.com/package/react-svg-use

chenxeed avatar Oct 10 '17 04:10 chenxeed

Anything preventing #35 from being merged?

I would very much appreciate better SVG support. Current implementation is missing a lot of important elements such as <clipPath>, <textPath>, <feBlend>, etc.

mkaemmerer avatar Nov 13 '18 06:11 mkaemmerer