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: Ian Hickson <ian@hixie.ch>
Date: Mon, 1 Jun 2009 19:09:56 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0906011909240.19521@hixie.dreamhostps.com>
On Mon, 1 Jun 2009, Simon Pieters wrote:
> 
> > 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".

Really? Do you have a test case demonstrating this?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 1 June 2009 12:09:56 UTC

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