If the child text between flex and grid items only consists of white space, it is not rendered.
This is as if text-space-trim was set to discard-before discard-after for those items. Though the default value of text-space-trim is none, which contradicts the whitespace discarding logic in flex and grid layout.
Therefore I think an auto value needs to be introduced for text-space-trim and be made the initial value.
The computed value may then still be auto, or be either none or discard-before discard-after depending on the layout type.
Sebastian