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

[CSS21] references incorrect

From: Arron Eicholz <Arron.Eicholz@microsoft.com>
Date: Wed, 26 Oct 2011 00:23:05 +0000
To: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>
Message-ID: <07349ECFC3608F48BC3B10459913E70B14935E9F@TK5EX14MBXC293.redmond.corp.microsoft.com>
The references for the following tests are incorrect and the tests themselves are correct.

The specific section in the spec is section 9.5.1 rule 7:

A left-floating box that has another left-floating box to its left may not have its right outer edge to the right of its containing block's right edge. (Loosely: a left float may not stick out at the right edge, unless it is already as far to the left as possible.) An analogous rule holds for right-floating elements.

Since the blue box is shifted over 100px by its parent margin and it's floated left it's as far to the left as it can go within the containing block and thus will overflow the containing block and not shift down like the reference expects. Thus the reference should be corrected for the test case.



All browsers seem to agree that the correct rendering is not what is in the reference.

Arron Eicholz
Received on Wednesday, 26 October 2011 00:24:00 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:13:23 UTC