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

FWIW, @Loirooriol 's previous comment led to [bug 817835](https://bugs.chromium.org/p/chromium/issues/detail?id=817835).

Today @emilio and I filed [bug 842157](https://bugs.chromium.org/p/chromium/issues/detail?id=842157) about how Chromium's expansion approach produces incorrect results, e.g., on [this test](https://dbaron.org/css/test/2018/matches-selector) (which WebKit passes).  `:matches()` with combinators inside it fundamentally allows branchy selectors that can't be written straightforwardly in pre-`:matches()` CSS syntax.

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

Received on Friday, 11 May 2018 17:09:07 UTC