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

@myfonj While counters can be more flexible, they have some [complex inheritance](https://drafts.csswg.org/css-lists/#creating-counters). In order to know the value of a counter in an element, you may have to iterate all the descendants of the previous siblings of the element. And this can be bad for parallelization, see https://github.com/w3c/csswg-drafts/issues/1026#issuecomment-341295647. So it seems less doable to me.

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

Received on Monday, 6 January 2020 21:01:21 UTC