W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2019

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

From: Jake Archibald via GitHub <sysbot+gh@w3.org>
Date: Thu, 05 Dec 2019 14:40:27 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-562157539-1575556826-sysbot+gh@w3.org>
> `count(siblings)` for getting parent’s element count minus 1.

Does anyone have a use-case where "parent's element count minus 1" is the number you actually want, rather than "parent's element count"?

-- 
GitHub Notification of comment by jakearchibald
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4559#issuecomment-562157539 using your GitHub account
Received on Thursday, 5 December 2019 14:40:29 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:57 UTC