W3C home > Mailing lists > Public > public-css-testsuite@w3.org > October 2013

Re: Issue with margin-collapse-clear-012.htm and margin-collapse-clear-013.htm

From: Robert Hogan <robhogan@gmail.com>
Date: Mon, 28 Oct 2013 15:43:04 +0000
Message-ID: <CAD1xn+Ozp9Nj_PTfCo90_ZgyDXPUr9fmw4AVw89h3c6HwRh55w@mail.gmail.com>
To: Alan Gresley <alan@css-class.com>
Cc: Bruno Fassino <fassino@gmail.com>, Public CSS test suite mailing list <public-css-testsuite@w3.org>, Gérard Talbot <css21testsuite@gtalbot.org>
HI Alan,

On 28 October 2013 14:27, Alan Gresley <alan@css-class.com> wrote:
> Sometimes it helps to have a peak (see below code) to understand where
> something is located if it could seen. The self-collapsing-with-clearance
> element does not have any collapsing margins.

That seems like a controversial suggestion, the div is clearly
self-collapsing so must have a collapsed margin value of 0. Can you
explain why its top and bottom margins do not collapse with each

 <div id="self-collapsing-with-clearance" style="clear:
both;margin-top: -40px; margin-bottom:40px;"></div>
Received on Monday, 28 October 2013 15:43:35 UTC

This archive was generated by hypermail 2.4.0 : Friday, 20 January 2023 19:58:19 UTC