W3C home > Mailing lists > Public > www-style@w3.org > December 2010

RE: [css3-text] Proposal to add "text-decoration-skip: decoration-boundary"

From: Koji Ishii <kojiishi@gluesoft.co.jp>
Date: Sat, 4 Dec 2010 02:54:35 -0500
To: Ambrose LI <ambrose.li@gmail.com>, John Cowan <cowan@mercury.ccil.org>
CC: Ethan Chen <chief@ethantw.net>, "KangHao Lu (Kenny)" <kennyluck@w3.org>, WWW Style <www-style@w3.org>, CJK discussion <public-i18n-cjk@w3.org>
Message-ID: <A592E245B36A8949BDB0A302B375FB4E0AA8B1B7FD@MAILR001.mail.lan>
It looks like I was misleading what I wanted to say. Sorry about that.

I wanted to say that *in English*, you can use:
  <u>word</u> <u>word</u>
to underline each word with underline split.

In Chinese/Japanese, we can't do that today, and we want to make it possible.

I agree with Ambrose, Ethan, and Kenny that this should be solved without hacking HTML source.

What do you guys think changing default behavior rather than adding a new value to text-decoration-skip property?


-----Original Message-----
From: Ambrose LI [mailto:ambrose.li@gmail.com] 
Sent: Saturday, December 04, 2010 3:20 PM
To: John Cowan
Cc: Koji Ishii; Ethan Chen; KangHao Lu (Kenny); WWW Style; CJK discussion
Subject: Re: [css3-text] Proposal to add "text-decoration-skip: decoration-boundary"

2010/12/4 John Cowan <cowan@mercury.ccil.org>:
> Koji Ishii scripsit:
>
>> I agree that this is a styling issue and should be solved in CSS, not 
>> in HTML.
>>
>> This is an interesting issue to me. If I understand this correctly, 
>> scripts that use spaces as word delimiters can distinguish the two:
>>   <u>word word</u>
>>   <u>word</u> <u>word</u>
>
> That's correct, but it is an HTML solution (it depends on the position 
> of the space in the HTML), contrary to what you said.  If a space can 
> be added to the HTML to solve the problem in scripts that use space, 
> than a thin space or hair space can be added to the HTML in scripts that do not.

No, a (thin/hair) space can be added to HTML, but not to "solve" the problem but "work around" the problem.

It is only a workaround because this way of writing Chinese is unnatural. This harks back to the days when browsers do not know how to wrap lines consisting with CJK characters with no intervening spaces. This "solution" would be a step at least 10 years backwards.


--
cheers,
-ambrose
Received on Saturday, 4 December 2010 07:57:52 GMT

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