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

Simon Pieters simonp at opera.com
Mon Jun 1 02:56:26 PDT 2009


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



More information about the whatwg mailing list