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

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

From: Ilya Streltsyn via GitHub <sysbot+gh@w3.org>
Date: Fri, 13 Jul 2018 20:01:49 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-404938768-1531512108-sysbot+gh@w3.org>
@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

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:53 UTC