W3C home > Mailing lists > Public > www-style@w3.org > September 2008

Re: [CSS21] Collapsing Margins

From: Bruno Fassino <fassino@gmail.com>
Date: Tue, 9 Sep 2008 22:30:39 +0200
Message-ID: <da98bce00809091330v2422ae50ha14197ce7a40747b@mail.gmail.com>
To: "Alex Mogilevsky" <alexmog@microsoft.com>
Cc: www-style <www-style@w3.org>

On Tue, Sep 9, 2008 at 9:26 PM, Alex Mogilevsky wrote:
> IE8 also handles this correctly (although there is a thin red stripe in the bottom, from an unrelated bug).
> [1] http://lachy.id.au/dev/css/tests/adhoc/collapsing-margins-01.html
> [2] http://csswg.inkedblade.net/spec/css2.1#issue-14

IE8 beta 2 does not seem to render correctly this:


the green box should be just 21px below the top of the page.

It also does not render correctly the first two test cases here


(it seems that in presence of min-height there is never collapsing and
the bottom-margin of the last child is always "enclosed".)

Bruno Fassino http://www.brunildo.org/test
Received on Tuesday, 9 September 2008 20:31:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:12 GMT