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

Re: CSS2.1 issue 6 test case

From: L. David Baron <dbaron@dbaron.org>
Date: Sat, 17 May 2008 12:11:06 -0700
To: fantasai <fantasai.lists@inkedblade.net>
Cc: Arron Eicholz <Arron.Eicholz@microsoft.com>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <20080517191106.GA27208@pickering.dbaron.org>

On Saturday 2008-05-17 10:57 -0700, fantasai wrote:
> L. David Baron wrote:
>> Could you explain how this test is related to Alex's proposal?
>> Which of the boxes has its top and bottom margins adjoining, and how
>> does the test test for the position of that box?
>
> Ok, here are three corrected test cases. At least I think they're corrected. :)
> They give different results: the first one seems to indicate that the spec is
> correct, the second two seem to indicate that Alex's proposal is correct.
>
> http://lists.w3.org/Archives/Public/www-archive/2008May/att-0046/margin-collapsing-issue6a.htm

Could you answer the two above questions (which box, and how are you
measuring its position) for this testcase as well?

(Also, in this testcase, the 10px and 20px margins clearly shouldn't
collapse, since one of them is on a float.)

> http://lists.w3.org/Archives/Public/www-archive/2008May/att-0046/margin-collapsing-issue6b.htm

Can you answer the above two questions for this test as well?

(I think this is the closest thing I've seen to a test for Alex's
proposal, but I think the 'outline' is on the wrong element; it
should be specified for #test rather than #child.  Using 'outline'
does seem like it may well be a correct way to measure the position
of such a box -- the first I've seen so far.  I hadn't thought of
that.)

> http://lists.w3.org/Archives/Public/www-archive/2008May/att-0046/margin-collapsing-issue6c.htm

Can you answer the above two questions for this test as well?

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Saturday, 17 May 2008 19:11:49 GMT

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