W3C home > Mailing lists > Public > www-international@w3.org > October to December 2010

RE: [css3-text] text-transform: han-numerals

From: Koji Ishii <kojiishi@gluesoft.co.jp>
Date: Fri, 29 Oct 2010 06:22:33 -0400
To: "MURATA Makoto (FAMILY Given)" <eb2m-mrt@asahi-net.or.jp>, Alan Gresley <alan@css-class.com>
CC: fantasai <fantasai.lists@inkedblade.net>, "www-international@w3.org" <www-international@w3.org>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <A592E245B36A8949BDB0A302B375FB4E0AA3634334@MAILR001.mail.lan>
> Then, the decimal system is not good enough for converting numbers to han idegraphic
> representations.  I prefer 三十五 to 三五 when it means 35.
> 
> I think that the first version of CSS Text should stay away from such conversion.

I think it's better to understand this discussion in a little different way.

>From the requirement point of view, it is all about formatting numbers. I understand that.

In response, we as technical team are making two different offers.

One is to wait for full number formatting feature to be done in CSS Lists module. At this point, we're not sure if it can format all numbers within text or not. My personal guess at this point is no, it cannot, because parsing whole document and finding numbers within text isn't an easy task. It is possible that you may end up changing HTML to something like:
<span style="format-number: ideograph">12</span>
It may be more powerful than this, but at this point, we just don't know.

The other offer is, all it can do is only code point transformations, but it can transform all digits to ideographic digits. It doesn't support full number formatting due to its nature, but it's cheap to implement and cheap to run. It can transform all digits within text by applying single property to the root of the document. Although it's not fully featured number formatting, it must help readability of numbers within vertical flow.

You can take both, either, or none. We're not saying, because you took this one, you have to give up another. The two are different features from technical point of view.

I don't see any reasons not to take both. Do you?


Regards,
Koji
Received on Friday, 29 October 2010 10:20:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 29 October 2010 10:20:31 GMT