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

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

From: MURATA Makoto (FAMILY Given) <eb2m-mrt@asahi-net.or.jp>
Date: Wed, 27 Oct 2010 14:31:44 +0900
To: fantasai <fantasai.lists@inkedblade.net>
Cc: www-international@w3.org, "www-style@w3.org" <www-style@w3.org>
Message-Id: <20101027143142.771E.B794FC04@asahi-net.or.jp>
> [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 GMT

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