Re: [csswg-drafts] [selectors4] Name the “functional pseudo-class like :matches() with 0 specificity”

@CyberAP, the comma clearly means "or", not "and" :)

@Loirooriol, wouldn't it _increase_ the cognitive load instead if for some period of transition there would co-exist two completely different experimental implementations of `:any`/`:-*-any` — the old deprecated one with the specificity of the single pseudo-class and the new one with no specificity at all?

But I agree that it;s confusing to have several things that effectively do nearly the same job, but _a bit_ differently. That's why, ideally, I would prefer the _single_ pseudo-class with some (optional) modifier for turning off/adjusting the specificity to the current solution with 2 very similar pseudo-classes (plus the old deprecated-but-yet-supported one).

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

Received on Friday, 13 July 2018 20:01:54 UTC