Re: [svgwg] Support HTML metadata elements in both HTML and SVG namespaces?

`SVGScriptElement` and `SVGStyleElement` are actually a pain, because they aren't directly equivalent to their HTML equivalents.  New features are added to HTML, and aren't automatically extended to the SVG versions (like `async` or `defer` for scripts).

I know that the initial proposal for audio/video/etc in SVG was to create separate SVG-namespaced elements, but it was decided that it was better for implementation and maintainability to just reuse the existing elements. I'm not sure if a similar discussion was had about the metadata elements, of if it was simply recognized that the HTML link tags already worked in browsers, and style & script tags added dynamically, so might as well formalize that.

-- 
GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/388#issuecomment-366091731 using your GitHub account

Received on Thursday, 15 February 2018 23:04:00 UTC