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

Wouldn't a limit on the total length of the expanded selector list make more sense?

Not that nesting 6 levels deep is wise, but you a hostile style sheet could still do some damage by using a large lists of selectors at every level (oh, you've disabled JavaScript? How's *that*? [BAM, here comes a selector bomb that would have been unloaded synchronously by a JS script]).

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

Received on Saturday, 8 February 2020 21:23:18 UTC