RESOLVED DUPLICATE of bug 206654 181078
:matches() ignores complex selectors after the first one when matching for originating element of pseudo-element
https://bugs.webkit.org/show_bug.cgi?id=181078
Summary :matches() ignores complex selectors after the first one when matching for or...
Xidorn Quan
Reported 2017-12-20 23:20:56 PST
Created attachment 330012 [details] testcase See the testcase. The square should be green, while it renders red. Changing the ":matches(whatever, body #test)" to either ":matches(body #test)" or ":matches(whatever, #test)" makes the testcase works as expected.
Attachments
testcase (255 bytes, text/html)
2017-12-20 23:20 PST, Xidorn Quan
no flags
Radar WebKit Bug Importer
Comment 1 2017-12-21 21:51:52 PST
Antti Koivisto
Comment 2 2020-01-24 00:03:23 PST
*** This bug has been marked as a duplicate of bug 206654 ***
Note You need to log in before you can comment on or make changes to this bug.