Re: [csswg-drafts] [css-values-5] Add `number()` to coerce string values to numbers (#12145)

Are there use-cases for this *other* than counters? If not, avoiding the second call and just introducing `counter-value()`, as has been suggested in the past, is probably the right way to go.

(`attr()` already lets you parse directly into a number, so that's not a use.)

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


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

Received on Friday, 2 May 2025 19:49:53 UTC