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

Ian Hickson ian at hixie.ch
Mon Jun 1 12:09:56 PDT 2009


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.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list