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 10:07:40 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-562060448-1575540459-sysbot+gh@w3.org>
In https://github.com/w3c/csswg-drafts/issues/1869#issuecomment-549136307 I showed that if you can get a children count, you can use that to get a sibling count, so if we need an minimum viable product, then I'd rather have a children count than sibling count.

I also think "sibling count" is misleading. For example, I am one of two children, but doesn't that mean I have one sibling? Whereas here we're using "sibling count" to mean "sibling count + myself".

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

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