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

  > These functions may, in the future, be extended to accept an `of <selector>` argument, similar to `:nth-child()`, to filter on a subset of the children.

If I am not mistaken, these functions are currently the only functions that have no argument value definition.

From a theoretical point of view, I do not know if an "empty" value definition matches an empty input but from a pratical point of view, an empty value definition is not great, and it seems more appropriate to define these functions as keywords if they are not intented to accept arguments in the future.

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


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

Received on Friday, 15 March 2024 14:47:16 UTC