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

Re: [CSS3 Text] "keep-all" property

From: fantasai <fantasai.lists@inkedblade.net>
Date: Fri, 02 Nov 2007 20:49:35 -0400
Message-ID: <472BC59F.40604@inkedblade.net>
To: Ambrose Li <ambrose.li@gmail.com>
CC: www-style@w3.org

Ambrose Li wrote:
> Hi,
> 
> In section 4.1 of the CSS 3 working draft 6 (March 2007), the
> explanation for "keep-all" reads as follows:
> 
> "Same as 'normal' for all non-CJK scripts. However, sequences of CJK
> characters can no longer break on implied break points. This option
> should only be used where the presence of white space characters still
> creates line-breaking opportunities, as in Korean."
> 
> This is quite misleading, as there are many cases where one would want
> to apply the keep-all property within a block of CJK text for reasons
> other than punctuation (at least in the case of (traditional)
> Chinese). These cases mirror the use of &nbsp; in Western text and
> includes (but probably not limited to):
> 
> - blocks of text that form one logical unit but do not consist solely
> of CJK characters (for disambiguation purposes)
> 
> - proper names, esp. personal names (breaking a personal name can be
> seen as disrespectful)
> 
> - compound words in flush-left paragraphs (this is not generally
> followed but there should be a way to make this preference explicit)

In these cases you would want to use "text-wrap: suppress", which is
designed for this. "word-break: keep-all" is solving a different problem.

~fantasai
Received on Saturday, 3 November 2007 00:49:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:56 GMT