Re: [w3c/webcomponents] HTML module should require a new top level element (#752)

> That doesn't really work due to the HTML parser (it'll always generate `<html><head/><body/></html>` basically).

At least in that case, it could be possible to make it so that the top‑level `<module>` element would prevent the generation of the <code>&lt;html xmlns="<a href="https://www.w3.org/1999/xhtml">http⁠://www<wbr/>.w3<wbr/>.org/1999/xhtml</a>"&gt;<wbr/>&lt;head/&gt;<wbr/>&lt;body/&gt;<wbr/>&lt;/html&gt;</code> elements, but the aforemention security issues do make this somewhat problematic.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/752#issuecomment-390534843

Received on Monday, 21 May 2018 02:14:15 UTC