- From: Xidorn Quan via GitHub <sysbot+gh@w3.org>
- Date: Sun, 08 Jul 2018 23:38:49 +0000
- To: public-css-archive@w3.org
upsuper has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-nesting] Maybe require all selectors in :matches() / :not() either have or not have nesting selector? == The spec currently says > A list of selectors is nest-containing if all of its individual complex selectors are nest-containing. I'm wondering whether the same requirement should be applied recursively to selector list inside, i.e. for selector lists inside `:matches()` and `:not()`, all selectors in them should be either nest-containing or not together. The same reasoning of editting hazard can apply here as well. This may also affect how this can be implemented (e.g. you can make assumption on that an element matched by nested rule must have itself or an ancestor of it matched, although that assumption may also require disallowing `:not(&)`). Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2896 using your GitHub account
Received on Sunday, 8 July 2018 23:38:52 UTC