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

Re: floats-137 invalid

From: L. David Baron <dbaron@dbaron.org>
Date: Tue, 19 Oct 2010 18:00:52 -0700
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: public-css-testsuite@w3.org, Ian Hickson <ian@hixie.ch>
Message-ID: <20101020010052.GA11457@pickering.dbaron.org>
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. 

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Wednesday, 20 October 2010 01:01:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 20 October 2010 01:01:39 GMT