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: Mon, 01 Jun 2009 11:56:26 +0200
Message-ID: <op.uuua7uhsidj3kv@simon-pieterss-macbook.local>
On Sat, 30 May 2009 05:49:20 +0200, <whatwg at whatwg.org> wrote:

> Author: ianh
> Date: 2009-05-29 20:49:18 -0700 (Fri, 29 May 2009)
> New Revision: 3151
>
> Modified:
>    index
>    source
> Log:
> [] (0) Try to make the magic margin collapsing rule more accurate.

> Modified: source
> ===================================================================
> --- source	2009-05-30 02:33:07 UTC (rev 3150)
> +++ source	2009-05-30 03:49:18 UTC (rev 3151)
> @@ -80436,9 +80436,10 @@
>  form { margin-bottom: 1em; }</pre>
>   <p>When a <code>Document</code> is in <span>quirks mode</span>,
> -  margins on <span>HTML elements</span> at the top or bottom of the
> -  initial containing block, or the top of bottom of <code>td</code> or
> -  <code>th</code> elements, are expected to be collapsed to zero.</p>
> +  margins on <span>HTML elements</span> at the top or bottom of
> +  <span>the body element</span>, or the top of bottom of
> +  <code>td</code> or <code>th</code> elements, are expected to be
> +  collapsed to zero.</p>
>   <h4>Alignment</h4>

Please change "<span>the body element</span>" to "<code>body</code>  
elements".

-- 
Simon Pieters
Opera Software
Received on Monday, 1 June 2009 02:56:26 UTC

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