- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Sun, 15 Oct 2017 16:27:26 +0000
- To: public-css-archive@w3.org
The problem with this proposal is that `counter()` returns a `<string>`, but `calc()` does not work with strings. For example, `counter(id, upper-latin)` might be `'A'`. How exactly is `calc()` supposed to know that this means `1`? So I think we need some way to get the numeric value of a counter, either by adding some parameter to `counter()` or a new function. This should be allowed to appear anywhere an integer is expected, including (but not necessarily in) `calc()`. I wrote my thoughts in #1871. -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1026#issuecomment-336723104 using your GitHub account
Received on Sunday, 15 October 2017 16:27:14 UTC