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

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 UTC