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

So at first glance at the Chromium's code it seems that very few expansions are allowed:
https://chromium-review.googlesource.com/c/chromium/src/+/879982/15/third_party/WebKit/Source/core/css/CSSSelectorList.cpp#165

Effectively https://jsfiddle.net/u9q1ogc7/ demonstrates the failure. Text should be green.

I think `:matches` matching should not use expansion and the specificity should be fixed.



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

Received on Wednesday, 7 February 2018 19:07:29 UTC