Re: [csswg-drafts] [css-values] Proposal: add sibling-count() and sibling-index() (#4559)

We already bikeshedded the names. `child-*()` is out - it reads as referring to the element's children (*especially* in `child-count()`). `sibling-*()` is fine, it's somewhat ambiguous in English but there's no way to be more specific without an absurdly long name.

And for indexes, CSS *always* 1-indexes, and specifically `:nth-child()` does, which this clearly mirrors. There was never any possibility we would do anything different.

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


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

Received on Tuesday, 7 November 2023 18:35:44 UTC