W3C home > Mailing lists > Public > www-style@w3.org > July 2005

RE: CSS3 Thai line breaking

From: Paul Nelson \(TYPOGRAPHY\) <paulnel@winse.microsoft.com>
Date: Thu, 28 Jul 2005 18:32:10 +0000
Message-ID: <49C257E2C13F584790B2E302E021B6F90CCD3725@winse-msg-01.segroup.winse.corp.microsoft.com>
To: "fantasai" <fantasai@inkedblade.net>
Cc: <w3c-css-wg@w3.org>, "Michel Suignard" <michelsu@windows.microsoft.com>



> They rely on white space collapsing to a space, not to nothing.

Is this an assumption you are making? Or, can you provide specific web
page designers who have said this is what they are doing? 

The pseudo-text was done for your convenience. So you have a little idea
of who I am and my background...
I coded the complex script support for IE 4.01 and IE 5, as well as
enabling other software like Publisher 2000. I have been doing
international text processing for about 20 years, so I understand how
this stuff works...or at least is supposed to work. 8-) I have also been
responsible for shaping scripts and OpenType font support in Windows. 

Regards,

Paul


-----Original Message-----
From: fantasai [mailto:fantasai@inkedblade.net] 
Sent: Thursday, July 28, 2005 9:20 AM
To: Paul Nelson (TYPOGRAPHY)
Cc: w3c-css-wg@w3.org; Michel Suignard
Subject: Re: CSS3 Thai line breaking

Paul Nelson (TYPOGRAPHY) wrote:
 >
 > In the case of CJK and non-whitespace scripts the space should simply
be  > swallowed instead of collapsing to a single space.

Yes, that would be ideal. But my point is, you can't implement that for
Thai that without breaking existing pages out there. They rely on white
space collapsing to a space, not to nothing.

 > When I tried the above with IE, I was amazed that I had to use &nbsp;
to  > avoid having the white space eaten. Perhaps that is the HTML
design?
 > Seems kind of funny.

Collapsible white space disappears at the beginning and end of the line.
See the rules in CSS 2.1 or CSS3 Text.
   http://www.w3.org/TR/CSS21/text.html#q8
   http://www.w3.org/TR/css3-text/#white-space-rules

Also, if you're writing a test for Thai handling, using Latin chars as
pseudo-text isn't going to get you relevant results.

~fantasai
Received on Sunday, 31 July 2005 07:20:37 GMT

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