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

Simon Pieters simonp at opera.com
Tue Jun 2 13:42:27 PDT 2009


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).

-- 
Simon Pieters
Opera Software



More information about the whatwg mailing list