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

Thanks for linking that issue, I missed it before.

How expensive would the computation be? I don't think that many counters would be used simultaneously in your average stylesheet, but that's something I can't know for sure. 

I must admit that I am talking just from a syntax standpoint, and not from a performance point of view since I think authors would find it messy having to use **three kinds** of count functions (sibling, children, descendant) for similar but slightly different uses, instead of one function with different arguments.

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


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

Received on Tuesday, 17 December 2024 15:45:36 UTC