Add src attribute to <template> to load a template from file #10571
Labels
addition/proposal
New features or enhancements
needs implementer interest
Moving the issue forward requires implementers to express interest
What problem are you trying to solve?
I'm trying to include the content of another page like
<iframe seamless>
once did, in a purely declarative form with javascript disabled. it was dropped because shadow DOM was there but it does not fullfill everything yet.What solutions exist today?
None exists with the shadow DOM without javascript.
It's possible to emulate the
<iframe seamless>
using javascript to fill a template element with HTML code fetched from an HTTP request. and put it in a shadow DOM.How would you solve it?
Something like this should be possible:
Anything else?
links should be resolved relative the the included file. Any
href
orsrc
attribute should have its links made relative to the location of theincluded/file.html
The text was updated successfully, but these errors were encountered: