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

@chris-l thanks, that confirms my initial guess.

@techtonik as I mentioned above, the way this can currently be done is using iframes. The seamless attribute should be enough to make it work for simple cases, but currently [it isn't implemented](http://caniuse.com/#feat=iframe-seamless) in any of the major browsers, so you have to emulate it manually with CSS. As an example, you can see the iframe approach in use in my [personal website](http://waldyrious.net) (see [here](https://github.com/waldyrious/waldyrious.github.io/blob/36ffdd1ce5933235eff74a7a6471bea8de2a41a1/index.xhtml#L14) and [here](https://github.com/waldyrious/waldyrious.github.io/blob/36ffdd1ce5933235eff74a7a6471bea8de2a41a1/css/style.css#L30) for the relevant code).

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

Received on Saturday, 18 July 2015 11:29:18 UTC