Re: floats-137 invalid

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 UTC