Bug 257369 - [css-counter-styles] Support CJK counter styles outside of range
Summary: [css-counter-styles] Support CJK counter styles outside of range
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-05-26 00:04 PDT by Tim Nguyen (:ntim)
Modified: 2023-05-26 00:04 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Nguyen (:ntim) 2023-05-26 00:04:23 PDT
Everything in section 7 of https://drafts.csswg.org/css-counter-styles-3/#complex-predefined-counters use custom systems in Chrome / Firefox, in order to support ranges outside of -9999 9999.

We should do the same in order to pass the relevant WPT.
Comment 1 Radar WebKit Bug Importer 2023-05-26 00:04:35 PDT
<rdar://problem/109875198>
Comment 2 Tim Nguyen (:ntim) 2023-05-26 00:04:53 PDT
> 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.