- From: Claudia Meadows via GitHub <sysbot+gh@w3.org>
- Date: Mon, 05 May 2025 17:46:06 +0000
- To: public-css-archive@w3.org
> 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.) There's no way to grab the content of an element as a number, either: https://drafts.csswg.org/css-content/#content-function. There may be others I'm also missing, as I haven't pored over all the specs in full. If all of those gained ways to retrieve the same values as numbers with units, then that can replace this proposal. -- GitHub Notification of comment by dead-claudia Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12145#issuecomment-2851838635 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 5 May 2025 17:46:07 UTC