Re: [webcomponents] [imports] <import src='header.html'/> in <body> (#280)

@waldyrious If `HTML Includes` should be part of Web Components?
I don't think so. While that functionality would indeed be useful, the other specs from Web Components are more directly related to isolation.

All this features are related with "isolation", while an `include`, is almost the opposite (the content should be _transparently_ included, that is, the included content should be part of the DOM, just like if was in the same HTML file and no extra/special commands should be necessary to access those nodes)

An `HTML Include` could be used inside or outside Web components, just like `div`, `script` or any other element. So I don't really see it as an spec that fits inside of Web components, IMHO.

(as side note, `HTML Include` must be **blocking**, for actually allowing full transparency)

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/280#issuecomment-122523346

Received on Saturday, 18 July 2015 09:50:24 UTC