Re: [svgwg] Require HTML 5 parser to correctly parse embedded HTML elements

It seems @tabatkins has already raised this issue over at WHATWG: 
https://github.com/whatwg/html/issues/919

Discussion petered out without a decision, though.

For now, I'll change the warning in SVG 2 to be along the lines of:

> Currently, the HTML parser does not recognize these tagnames within 
an SVG subtree to be HTML-namespaced elements.  Therefore, in order to
 include these elements within your SVG, you must either use an XML 
serialization that recognizes namespace declarations (such as 
stand-alone SVG or XHTML), or you must create namespaced elements via 
the `createElementNS` DOM API method.  Alternately, you can use the 
`foreignObject` element to wrap the HTML-namespaced elements; the HTML
 parser correctly parses HTML elements within a `foreignObject`.

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

Received on Saturday, 20 August 2016 16:13:25 UTC