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

> 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:21 UTC