Re: [csswg-drafts] [css-values]: Expose `n` as a `<calc-constant>` (#8981)

Sorry to see this closed as having `calc()` constants `x` and `y` for `:nth-child(x of ...)` and `:nth-child(y of ...)` would indeed solve a problem I have. This w.r.to a list returned by a selector, hence not answered by counting siblings. Well I can only offer a solution for the disambiguation of `n` and not for the loss of selector details pointed out by @tabatkins.

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


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

Received on Tuesday, 11 July 2023 01:20:28 UTC