- From: François REMY <francois.remy.dev@outlook.com>
- Date: Sat, 24 Nov 2012 15:09:29 +0100
- To: "CSS WG" <www-style@w3.org>
| How is this compared to css4-text's 'white-space-collapse'[1]?
Seems kinda similar. The thing is: we need to check out the use cases and
solve them (so what I miss from this spec is the use cases it's trying to
solve).
To me (white-space: pre trim-one-line)
<pre>
class Point {
constructor(this.x,this.y) {}
}
</pre>
and (white-space: trim)
<div>
<div>Some content</div>
<div>...</div>
<div>...</div>
</div>
is a second one.
I don't think there's are equivalents to my proposed "white-space" values in
the current draft (trim-inner doesn't work because if my PRE code starts
with an empty line I have no way to get this line to show up and discard
would throw the space between words of my PRE).
I would also like to get to see a case where you would like 'discard' and
which is not a 'trim' case.
I'm also wondering about 'consume' use cases. It's not up to an element to
know if the whitespace that surrounds him is relevant or not, according to
me, because this content is outside its control.
Received on Saturday, 24 November 2012 14:09:44 UTC