Re: [csswg-drafts] [css-counter-styles-3] Should fallback use prefix/suffix of original style or fallback style? (#8619)

@tabatkins One thing I notice in the minutes is your suggestion of using an additive style to achieve what the reporter was trying to do:
```
<TabAtkins> @counter-style ordinal { system:additive; additive-symbols: 900 "9", 800 "8", ..., 90 "9", ..., 9 "9th", ..., 1 "1st"; }
<TabAtkins> actually that's way shorter than what the bug reporter was trying to do
```
However, unless I'm missing something, I don't think that actually works, does it? AFAICT this would fail for things like `900`, which just generates "9" and doesn't produce any trailing zeros or the desired "th". Similarly, `901` would generate "91st", because the additive style has no reason to produce a zero in the middle.


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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 2 May 2023 12:03:30 UTC