diff-renderer icon indicating copy to clipboard operation
diff-renderer copied to clipboard

SVG Support

Open zachwood opened this issue 4 years ago • 0 comments

I'm unable to update an element with an SVG and get it to actually render. Using the Inspector, the DOM shows an svg element, but it is never rendered to screen.

Example:

Go to the playground and add a basic svg element to the "New html" input and click "Render diff".

Here is the svg I added: <svg width="400" height="180"> <rect x="50" y="20" width="150" height="150" style="fill:blue;stroke:pink;stroke-width:5;fill-opacity:0.1;stroke-opacity:0.9" /> </svg>

https://s3.amazonaws.com/zwss/DiffRenderer_playground._2020-09-02_14-58-40.png

zachwood avatar Sep 02 '20 21:09 zachwood