W3C home > Mailing lists > Public > public-css-testsuite@w3.org > January 2010

Re: redone margin-collapse-027.xht (was RE: 3 Microsoft margin collapsing tests (wrt float, clear and clearance))

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Mon, 25 Jan 2010 18:02:58 -0800
Message-ID: <2205b9cb9b9232d602005722c3b3aaec.squirrel@cp3.shieldhost.com>
To: "Patrick Garies" <pgaries@fastmail.us>
Cc: "Arron Eicholz" <arron.eicholz@microsoft.com>, "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>

> On 2010-01-25 5:43 PM, GĂ©rard Talbot wrote:
>> The current
>>
>> <meta name="assert" content="When two siblings are adjoining and
>> their margins collapse the bottom margin of the last sibling does not
>> collapse its bottom margin with the parents bottom margin when its
>> own margins collapse and clearance has occurred." />
>>
>> is still going to be painful, difficult to figure out for many
>> people.
>>
>> My suggestion:
>>
>> <meta name="assert" content="When two siblings are adjoining and
>> their margins collapse, then the bottom margin of the last sibling
>> does not collapse its bottom margin with the parent's bottom margin
>> when its own margins collapse and clearance has occurred." />
>
> I would change the word "its" to explicitly refer to whatever it refers
> to. I'm a native English speaker and that isn't clear to me if that
> means the "last sibling" or "parent".

Patrick,

I agree with you on the explicitness issue. [And I agree with you on the
judicious comma usage for best separating discrete parts of long and
complex sentences. The whole CSS 2.1 spec has often lots of "its" and
not enough commas.]

How about:

<meta name="assert" content="When two siblings are adjoining and their
margins collapse, then the bottom margin of the last sibling
does not collapse with the parent's bottom margin when such parent own
margins collapse and when clearance has occurred." />

regards, Gérard
-- 
Contributions to the CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

CSS 2.1 test suite (pre-alpha):
http://www.w3.org/Style/CSS/Test/CSS2.1/current/html4/

CSS 2.1 test suite contributors:
http://test.csswg.org/source/contributors/
Received on Tuesday, 26 January 2010 02:03:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 20 September 2010 17:52:01 GMT