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

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?

~TJ

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