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

Re: floats-137 invalid

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 19 Oct 2010 19:55:47 -0700
Message-ID: <AANLkTikxYHGecpjGtL-k4GaDHLEOL2J=7RihVZhCUXUv@mail.gmail.com>
To: "L. David Baron" <dbaron@dbaron.org>
Cc: public-css-testsuite@w3.org, Ian Hickson <ian@hixie.ch>
On Tue, Oct 19, 2010 at 6:00 PM, L. David Baron <dbaron@dbaron.org> wrote:
> On Tuesday 2010-10-19 17:34 -0700, Tab Atkins Jr. wrote:
>> I suspect this test is valid - that last space on the line is being
>> taken up by collapsed whitespace, thus pushing the following <div>'s
>> auto position to the next line.  You get the behavior you're referring
>> to if you remove all of the whitespace between "222222222" and the
>> following <div>.
>
> But the space at the end of the line should be removed according to
> http://www.w3.org/TR/CSS21/text.html#white-space-model , second
> numbered list, item 3:
>  # If a space (U+0020) at the end of a line has 'white-space' set
>  # to 'normal', 'nowrap', or 'pre-line', it is also removed.

You're right.  The test is flawed, and Chrome and IE8 are doing this wrong.

~TJ
Received on Wednesday, 20 October 2010 02:56:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 20 October 2010 02:56:55 GMT