Re: [csswg-drafts] [css-nesting-1] & representing parent elements vs parent selector (#8310)

I agree, and it's not something we've been spending much thought on, beyond the obvious optimization of :is() with a single selector inside (which we treat generally the same as that selector, both for bucketing and for Bloom filters). But at least we believe this is possible to do if it should become a performance problem in the future (i.e., users commonly write nesting selectors with lists in the parent selector), whereas it's not obvious at all how to implement an unbounded desugaring model without risk for blowup (in the same situation).

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


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

Received on Wednesday, 18 January 2023 15:30:13 UTC