[whatwg] overflow of seamless iframes

Ian Hickson ian at hixie.ch
Thu Jul 31 15:04:08 PDT 2008

On Thu, 31 Jul 2008, Simon Pieters wrote:
> On Thu, 31 Jul 2008 23:11:08 +0200, Ian Hickson <ian at hixie.ch> wrote:
> > My original idea (apparently not well conveyed in the spec) is that it 
> > doesn't actually affect the rendering model at all -- it's still an 
> > <iframe>, it just doesn't have a border, and the CSS style sheets 
> > cascade into it and properties inherit into it.
> This makes it basically impossible to style <html> and <body> in the 
> outer document (unless you use style=""), and moreover, the default 8px 
> margin on body in the iframe will make it look not-so-seamless.

Just use a class.

I don't really see a sane alternative. Actually grafting the child DOM 
from the children of the <body> down into the "final flattened tree" of 
the outer DOM would be a huge source of difficulties.

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

More information about the whatwg mailing list