Re: [csswg-drafts] [css-values] Proposal: `children-count()` function (#11068)

@kizu, would it make sense to add a filter/match parameter here, similar to how you specified `descendant-count()` in https://github.com/w3c/csswg-drafts/issues/11069?

That would allow use cases like `children-count(ul:not(:last-of-type))`.

Apologies if this was already discussed. I read through the thread but didn’t see it addressed.

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


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

Received on Thursday, 18 December 2025 22:15:07 UTC