W3C home > Mailing lists > Public > www-style@w3.org > March 2012

Re: [css4-text] A non-inherited property to control behavior of whitespace-only child boxes

From: fantasai <fantasai.lists@inkedblade.net>
Date: Fri, 30 Mar 2012 11:21:16 -0700
Message-ID: <4F75F99C.80608@inkedblade.net>
To: "Kang-Hao (Kenny) Lu" <kennyluck@csail.mit.edu>
CC: WWW Style <www-style@w3.org>
On 03/29/2012 07:24 PM, Kang-Hao (Kenny) Lu wrote:
>
> I don't read Perl, but in any case, I heard that 'text-space-collapse:
> discard;' is mostly about fixing *existing content* and this is one such
> example.

IIRC it was mostly intended for describing MathML's behavior. And handling
other use cases like turning a list into a bunch of inline blocks without
having to strip the indentation white space out of the source.

>> Arabic. You want to make sure that the words don't run together; that
>> they are shaped independently even if the spaces are removed.
>
> U+200B prevents words from running together too, although the horizontal
> advancement of these two are different in various situations. I think it
> would be helpful if some sample examples are analyzed. Otherwise, how do
> you know in these cases words should be shaped independently if the
> spaces are removed?

The horizontal advancement of both should be zero. If it's not, file a
bug against that implementation. :) The difference is that U+200B gives
a line break opportunity whereas U+200C does not.

~fantasai
Received on Friday, 30 March 2012 18:21:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 03:48:53 GMT