Hi team,
I noticed a bug when using the style property on SVG’s. It turns the style property into STYLE(in uppercase) which causes the SVG to not render properly.
To replicate the issue you can just add a new Custom Element in the page - change the tag to SVG and then add a style attribute background-color: red
Now check the svg code in the live site and you’ll see this something like this:
<svg STYLE="background-color: red"></svg> which is wrong. If I use the browser console to manually update from STYLE to style it properly works and displays the background. All other properties besides style are working properly.
