W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2017

Re: [csswg-drafts] [selectors] Functional pseudo-class like :matches() with 0 specificity

From: François REMY via GitHub <sysbot+gh@w3.org>
Date: Mon, 02 Oct 2017 18:46:53 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-333627949-1506970000-sysbot+gh@w3.org>
> The problem you described is that it it increases the specificity of the whole complex selector to such a degree that it makes it harder to override

A lot of people just want to use specificity for the core of their matching, but source order for tiny variations on a selector, without having to refactor anything if they change some condition from "a class being present" to "a pair of attributes having certain values" as their apps evolve; your proposal would not help them achieve that.

-- 
GitHub Notification of comment by FremyCompany
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1170#issuecomment-333627949 using your GitHub account
Received on Monday, 2 October 2017 18:46:44 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:19 UTC