Re: [csswg-drafts] [css-nesting] Concern about combinatorial explosion (#2881)

WebKit expands `&` to `:is(parent_selector_list)`, which grows to something like `O(number_of_levels^average_number_of_nesting_selectors_at_each_level)` - which is not exponential on the number of levels I think?

Also, we indeed have a maximum rule nesting level, but not specifically for style rule nesting. 

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


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

Received on Tuesday, 18 July 2023 10:09:13 UTC