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

RE: [CSS21] Collapsing Margins

From: Alex Mogilevsky <alexmog@microsoft.com>
Date: Tue, 9 Sep 2008 12:26:02 -0700
To: Lachlan Hunt <lachlan.hunt@lachy.id.au>, Bruno Fassino <fassino@gmail.com>
CC: www-style <www-style@w3.org>
Message-ID: <7C2F64B551D8664AAD94A28DAC37D020632BA4B6EE@NA-EXMSG-C103.redmond.corp.microsoft.com>
On the first test [1], Firefox behavior (and the expected behavior for the test) is definitely correct. Used height of body is not greater than its min-height, it is equal, so its bottom margin doesn't collapse with its children.

As noted earlier, The wording in 8.3.1 has in fact changed (to allow collapsing when content height is exactly equal to min-height), but it does not change expected behavior for this case.

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

Received on Tuesday, 9 September 2008 21:10:56 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:39 UTC