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

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 UTC