Re: [csswg-drafts] [selectors-4] reconsider specificity rule for :matches()

Correct all around; expanding `:matches()` out to the full set of equivalent `:matches()`-less selectors can result in a combinatorial explosion of selectors. This is why Sass, which has a virtually-identical problem with its `@extend` rule, instead just heuristically determines the "most likely to be useful" selectors, and only expands into those.

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

Received on Wednesday, 23 May 2018 14:38:12 UTC