W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2018

Re: [csswg-drafts] [css-nesting] Concern about combinatorial explosion

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Mon, 16 Jul 2018 22:17:08 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-405398775-1531779427-sysbot+gh@w3.org>
Sure. Very deep nesting of selectors is uncommon in the first place, tho (based on preprocessor experience), and deep nesting of *selector lists* is even less common. When things are deeply nested, they commonly just do appending, like `.foo { & .bar { & .baz {...`, which is easy to handle.

That said, I'm still okay with a maximum nesting depth set to something reasonable, like 5 or 6.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2881#issuecomment-405398775 using your GitHub account
Received on Monday, 16 July 2018 22:17:13 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 19 September 2019 01:18:59 UTC