[whatwg] [html5] r3151 - [] (0) Try to make the magic margin collapsing rule more accurate.

On Tue, 2 Jun 2009, Simon Pieters wrote:
> On Tue, 02 Jun 2009 19:36:25 +0200, Jonas Sicking <jonas at sicking.cc> wrote:
> 
> > Is this something that's really needed for web compatibility though?
> 
> Probably not.
> 
> 
> > Creating a DOM with multiple <body>s is hard since the parser will
> > never output such a DOM. Instead you have to manually set up such a
> > DOM using DOM methods, something that I'd expect extremely few pages
> > to do.
> > 
> > I don't have a strong opinion either way on this, I think we should go
> > with whatever's simplest to implement, but I don't know what that is.
> 
> "The body element" is the first (if any) <body> or <fieldset> child of the
> root <html>. I don't know what's simpler to implement, but the spec now
> matches at least Opera, Firefox and Safari (haven't tested IE).

I concurr with Simon, in that matching implementations here seems best; it 
seems likely that it's easier for implementations not to change...

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

Received on Friday, 12 June 2009 15:25:31 UTC