W3C home > Mailing lists > Public > www-style@w3.org > April 2012

Re: [css3-flexbox] handling whitespace between items in a flexbox

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 6 Apr 2012 09:07:40 -0700
Message-ID: <CAAWBYDBuxsPcN5SW4tk+jcKLAKHwMS=xeHQg6x-YG_pX3znh1A@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: Daniel Holbert <dholbert@mozilla.com>, www-style list <www-style@w3.org>
On Thu, Apr 5, 2012 at 5:46 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 4/5/12 7:20 PM, Tab Atkins Jr. wrote:
>> I've added the following sentence to the third list item in the
>> flexbox generation section: "If the contents of the anonymous box
>> would be solely an anonymous inline containing only whitespace, the
>> box is not generated, and the whitespace is removed from the box
>> tree."
>>
>> Sound good?
>
> So this collapses away the whitespace even if "white-space: pre", right?

Yes.  As far as I can tell, this matches the specced display:table
behavior, and I don't see a good reason to differ from that.

If that's problematic, or if the spec for display:table doesn't
describe reality, let me know.  ^_^

~TJ
Received on Friday, 6 April 2012 16:08:29 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:52 GMT