Skip to content

[css-counter-styles] Define extended CJK longhand counter styles range #12383

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add implementation tier clarification
  • Loading branch information
sakupi01 committed Jun 22, 2025
commit 1a52e50de249681bf3de78b8bb8bc50992bfb645
21 changes: 10 additions & 11 deletions css-counter-styles-3/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2034,17 +2034,16 @@ Longhand East Asian Counter Styles</h3>
</table>
</div>

Because opinions differ on how best to represent numbers 10k or greater
using the longhand CJK styles,
all of the counter styles defined in this section are defined to have a range of -9999 to 9999,
but implementations may support a larger range.
Outside the implementation-supported range,
the fallback is ''cjk-decimal''.

Note: Implementations are encouraged to research and implement counter representations beyond 10k
and report back to the CSS Working Group with data
when a generally-accepted answer is discovered.
Some previous research on this topic is contained in an <a href="https://www.w3.org/TR/2013/WD-css-counter-styles-3-20130718/#extended-cjk">earlier draft</a>.
Because opinions differ on how best to represent numbers 10,000 or greater
using the longhand CJK styles, the implementation details are split into two sections.
The Korean and Japanese variants of these counter styles can, if limited to the range
of -9999 to 9999, be expressed as <code>@counter-style</code> rules.
The Chinese variants use a [=Chinese|specialized algorithm=], regardless of range.
The required implementation is described in [[#limited-range-required]], which defines
the styles over these limited ranges, and the optional implementation is described in
[[#extended-range-optional]], which defines them over a larger range following custom algorithms.
Outside the implementation-supported range,
the fallback is 'cjk-decimal'.

<!--
██ ████ ██ ██ ████ ████████ ████████ ████████ ██████ ██ ██ ██
Expand Down