W3C home > Mailing lists > Public > www-style@w3.org > January 2011

Re: [css3-text] line break opportunities are based on *syllable* boundaries?

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sun, 30 Jan 2011 13:47:29 -0500
Message-ID: <4D45B241.90306@mit.edu>
To: Ambrose LI <ambrose.li@gmail.com>
CC: www-style@w3.org, www-international@w3.org
On 1/30/11 11:55 AM, Ambrose LI wrote:
> 2011/1/30 Boris Zbarsky<bzbarsky@mit.edu>:
>> I don't follow this.  white-space:nowrap (in CSS2.1) and text-wrap:none (in
>> CSS3 text, where white-space:nowrap is a shorthand that sets text-wrap:none)
>> work on all characters and all elements, last I checked.
>
> But they don't work on in-line elements, unless this is no longer the
> case in CSS3. These properties are quite useless (even for non-CJK
> use, IMHO) unless they work also on inline elements.

http://www.w3.org/TR/CSS21/text.html#white-space-prop says:

   Applies to:  	all elements

Similar for text-wrap in CSS3.

Certainly Gecko applies this property to inline elements.

-Boris
Received on Sunday, 30 January 2011 18:48:32 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:36 GMT