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

> [Adding back www-style]

My mistake!

> But, as with the various Han representations, only one of those is in a
> decimal system: the others are mixtures of digits and words. We can
> transform decimal to decimal easily. And I think this is adequate for
> hitting the 80% use case.

I do not understand what you mean by "decimal".  Aren't

三五
三十五
参拾伍

all decimal?  Here 三 and 参 mean 3, while 五 and 伍 mean 5.
十 and 拾 mean 10.

Aren't 

> 三〇五,
> 三百五,
> 参百五, or
> 参〇五
(参〇伍 and 参百伍 are also possible.)

all decimal?  Here 〇 means 0, and 百 means 100.

For representing amount of money, 参拾伍 and 参百五 are very common. 
For representing years, 三五 and 三十五 are common. 

Probably your "decimal" system does not use 十, 百, 千, and so forth?

We have at least two options for the converion from numbers to 
han-ideographic representations.  They are 1) whether we should use 壱弐
参 or not, and 2) whether we should use 十, 百, 千, and so forth.

But I do not think we should try to incorporate such a mechanism in the 
upcoming CSS3 Text.  I think it should be defered to CSS4 Text or 
CSS5 Text.

Your suggestion, namely 

>  But even then, HTML+CSS can do it:
> 
>    <abbr class="number" title="三十五">35</abbr>
> 
> vertical.css:
>    abbr.number { content: attr(title) }

and Hacon's span elements combined with display:none look fine to me.

Cheers,
Makoto

Received on Wednesday, 27 October 2010 05:32:23 UTC