[Shadow] URL-based shadows?

Dimitri et al.,

   Has the idea of loading/parsing a Shadow DOM directly from a URL been discussed already? (e.g., a sort-of "micro-import" or an import that parses its document directly into the ShadowRoot container?) I'm curious to know if there's some obvious flaw that I'm missing.

element.createShadowRoot("path to my component");

  This is an idea around building components from the "inside out", and using the URL as the basis for script-level access control to the Shadow contents.

  Thoughts?

Received on Friday, 13 March 2015 00:46:37 UTC