Re: [w3c/webcomponents] HTML Modules (#645)

Re @matthewp (https://github.com/w3c/webcomponents/issues/645#issuecomment-309820248)
> It looks like @TakayoshiKochi's experiment doesn't create a new document for the imported module.

Yes, it was intentional.  Imported HTML is treated as DocumentFragment (as opposed to Document), so we don't have to bother about various semantics to be satisfied, although it yields some weirdness (e.g. why/how can <script> inside be executed?).  I'm interested if you prefer Document (other than that was described in Dimitri's doc) to DocumentFragment.

If you're interested in history, here's record of Document vs DocumentFramgent for HTML Imports:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22305

-- 
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/645#issuecomment-309970910

Received on Wednesday, 21 June 2017 05:54:20 UTC