Re: [csswg-drafts] [css-values] enable the use of counter() inside calc()

I would really, really love to have counter's value available inside `calc()`. The syntax I'd propose could be something like `counter-value()` that would return the counter's value as an integer. Other than the use-cases for `sibling-index`, this could be used for a lot more cases (not only [experimental](http://kizu.ru/en/blog/counters-and-stones/) ones). While I understand that that can be non-trivial to implement, the possibilities it would unlock would be tremendous.

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

Received on Monday, 15 January 2018 10:23:20 UTC