W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2009

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

From: Simon Pieters <simonp@opera.com>
Date: Tue, 02 Jun 2009 22:42:27 +0200
Message-ID: <op.uuwzs11aidj3kv@simon-pieterss-macbook.local>
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
Received on Tuesday, 2 June 2009 13:42:27 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:12 UTC