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

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

From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
Date: Tue, 02 Jan 2018 17:58:12 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-354831530-1514915891-sysbot+gh@w3.org>
@fantasai While definitely useful, I think 88b91c0 still does not clarify that the "calculating a selector’s specificity" algorithm requires an element, and which element is used for the argument of `:matches` and friends. But I guess this can wait until this issue is resolved.

And thanks for adding the missing option, I thought I included it but it seems I forgot. It may be the nicest one. I'm not an expert but I expect that matching `:matches` without expanding it should be feasible, @SelenIT. Otherwise, I think it should be confined to the snapshot profile.



-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1027#issuecomment-354831530 using your GitHub account
Received on Tuesday, 2 January 2018 17:58:14 UTC

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