[Help] [HTML5] HTML file inclusion

Ian Hickson ian at hixie.ch
Tue Jul 31 22:24:45 PDT 2007


On Fri, 13 Jul 2007, Master Leep wrote:
>
> HTML5 contains a couple of elements which create nested browsing 
> contexts, namely iframe and object.
> 
> Do either of these elements provide a safe replacement for Javascript 
> client-side file inclusion?
> 
> For example, I'd like to have an element which will be replaced by the 
> HTML in another referenced document.  I don't want to have to specify 
> height or width from the parent document or risk having scrollbars 
> appear, if those scrollbars wouldn't appear if the HTML had been all one 
> document.

No, they do not really address the same use cases.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the Help mailing list