- 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.>
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. http://test.csswg.org/suites/css2.1/20110323/html4/floats-rule7-outside-left-001.htm http://test.csswg.org/suites/css2.1/20110323/html4/floats-rule7-outside-right-001.htm References: http://test.csswg.org/suites/css2.1/20110323/html4/floats-rule7-outside-left-001-ref.htm http://test.csswg.org/suites/css2.1/20110323/html4/floats-rule7-outside-right-001-ref.htm All browsers seem to agree that the correct rendering is not what is in the reference. -- Thanks, Arron Eicholz
Received on Wednesday, 26 October 2011 00:24:00 UTC