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

@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