W3C home > Mailing lists > Public > www-style@w3.org > January 2014

Re: [css-counter-styles] implementation of complex cjk counter styles

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 14 Jan 2014 12:36:59 -0800
Message-ID: <CAAWBYDBnWiWid27zo7HRbAAATQ_FM-fZiWexaG6WsTAW-GReUA@mail.gmail.com>
To: Xidorn Quan <quanxunzhen@gmail.com>
Cc: www-style list <www-style@w3.org>
On Sun, Nov 3, 2013 at 7:35 PM, Xidorn Quan <quanxunzhen@gmail.com> wrote:
> Hi,
> I just submitted an implementation of longhand East Asian counter styles for
> Firefox. You can find it at
> https://bugzilla.mozilla.org/show_bug.cgi?id=934072 .
> As described in comment 8 in the page mentioned above, this impl generates a
> slightly different result with the current draft: for 11,111, it generates
> "一万千百十一" in japanese-informal and "萬 千百十一" in korean-hanja-informal; and it
> generates "一千万" for 10,000,000 in japanese-informal. These modifications are
> based on the discussion in this mailing list and replies from some of my
> native friends, and I also referred to the result of Google Translate.

Okay, I think we fixed the algorithm to accommodate this.  We've
changed the line "if any of the digit markers are preceded by the
digit 1, and that digit is not the first digit of the group," to say
"is not the first digit of the number" instead.

Is this a correct fix?

Received on Tuesday, 14 January 2014 20:37:47 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:38 UTC