Re: [csswg-drafts] [css-text-4][css-flex][css-grid] 'auto' value needed for text-space-trim to cover white space discarding between flex and grid items?

> We do not add features just because it sounds nice, we add them because they're useful.

I didn't say to add it because it "sounds nice" but to make `text-space-trim` conform to the following statement in CSS Flexbox and CSS Grids:

> However, if the entire sequence of child text runs contains only white space (i.e. characters that can be affected by the white-space property) it is instead not rendered (just as if its text nodes were display:none).

While the [definition of `text-space-trim`](https://drafts.csswg.org/css-text-4/#white-space-trim) says it applies to all elements, according to the above sentence it does *not* seem to apply to flex and grid items, right?

> text runs consisting of white space are always discarded except when occurring as inline-level content.

Can you point me to the spec. where this is defined, please? (The citation above only specifies the discarding of white space for flex and grid items, but I coun't find this general definition yet.)

Sebastian

-- 
GitHub Notification of comment by SebastianZ
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3124#issuecomment-426062226 using your GitHub account

Received on Monday, 1 October 2018 21:03:51 UTC