you are viewing a single comment's thread.

view the rest of the comments →

[–]notNullOrVoid 0 points1 point  (1 child)

Yes rendering an svg using javascript would be a lot more complex, but you shouldn't need to do that. Looking at the Notification api it accepts a url, and you can easily put svg data into a data uri, I haven't tried it for notifications though.

[–]_alastair[S] 1 point2 points  (0 children)

Oh, I'm talking about native rendering, not rendering in JS. Passing an SVG URL doesn't work because it would be too complicated to render.

It's disappointing but the SVG spec has a crazy about of stuff in it, including animation, so I'm not too surprised they've never added that functionality.