Bug 188150 - Match in group of selectors forgotten when group contains more than one negation pseudo-class selectors (:not())
Summary: Match in group of selectors forgotten when group contains more than one negat...
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-07-29 13:48 PDT by Daniel
Modified: 2022-07-15 13:34 PDT (History)
5 users (show)

See Also:


Attachments
Test case demonstrating the issue (462 bytes, text/html)
2018-07-29 13:48 PDT, Daniel
no flags Details
Corrected test case (438 bytes, text/html)
2018-07-30 08:56 PDT, Daniel
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel 2018-07-29 13:48:07 PDT
Created attachment 346037 [details]
Test case demonstrating the issue

Please see the attached test case. There shouldn’t be any visible red.

In the test, WebKit should find a match in the first rule; but the match is subsequently ignored when the second rule doesn’t match. The test case work in recent versions of Chrome, Edge, and Firefox.

Issue present in Safari 11 and 12, and in GNOME Web (Epiphany) 3.28.
Comment 1 Daniel 2018-07-30 08:56:50 PDT
Created attachment 346061 [details]
Corrected test case

I uploaded the wrong version of the file. Adding correct test case now. Sorry!
Comment 2 Brent Fulgham 2022-07-15 13:33:52 PDT
Safari, Chrome, and Firefox all agree on rendering for this test case. I don't believe there is any remaining compatibility issue.
Comment 3 Radar WebKit Bug Importer 2022-07-15 13:34:03 PDT
<rdar://problem/97091339>