Re: [csswg-drafts] [css-counter-styles] range fallback is neither widely implemented nor sensible as specified

> The normative stylesheet limits a bunch of languages to -9999 ... +9999, e.g. Armenian, and uses a single rule so that user agents are required to fall back to decimal. This is also true for Hebrew, Arabic, and CJK scripts, where roman decimal numbers don't use the same script (or direction?).

FWIW, Firefox support hebrew in [1, 999999], and complex CJK styles for the whole number range we can count (range of signed 32bit integer). And that is allowed by the spec. Also, CJK scripts fallback to `cjk-decimal` rather than `decimal` for non-negatives.

And I agree with what @tabatkins said.

If you are concerning that some counter styles may look weird when they go out of the range, someone can probably create something similar to `cjk-decimal` to cover the whole range using the same style of characters. Not sure how other people would feel about creating nonexisting numeric system just for fallback...

-- 
GitHub Notification of comment by upsuper
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2479#issuecomment-377190712 using your GitHub account

Received on Thursday, 29 March 2018 10:17:22 UTC