W3C home > Mailing lists > Public > www-style@w3.org > November 2013

Re: [css-flexbox][css-grid] What is "white space"?

From: fantasai <fantasai.lists@inkedblade.net>
Date: Thu, 21 Nov 2013 17:14:41 -0800
Message-ID: <528EB001.1000903@inkedblade.net>
To: www-style@w3.org
On 11/21/2013 08:30 AM, Simon Sapin wrote:
> Hi,
>
> Both specs contain similar text to define flex items and grid items:
>
>> [...] each contiguous run of text that is directly contained inside a
>> flex container is wrapped in an anonymous flex item. However, an
>> anonymous flex item that contains only white space is not rendered,
>> as if it were display:none.
>
> "white space" is a link to the white-space property:
> http://www.w3.org/TR/CSS21/text.html#white-space-prop
>
> What does this mean? Is any of the character mentioned in that section considered white space? Or only those collapsed/removed
> based on the inherited value of the white-space property?

Any of the characters mentioned.

> If it matches the intended meaning, I suggest linking to chapter 4 instead: http://www.w3.org/TR/CSS21/syndata.html#whitespace

That is definitely not the right place to link. White space
in the CSS syntax is not necessarily the same thing as white
space in the document.

~fantasai
Received on Friday, 22 November 2013 01:15:10 UTC

This archive was generated by hypermail 2.3.1 : Friday, 22 November 2013 01:15:11 UTC