Bug 188150

Summary: Match in group of selectors forgotten when group contains more than one negation pseudo-class selectors (:not())
Product: WebKit Reporter: Daniel <code>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: bfulgham, koivisto, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Test case demonstrating the issue
none
Corrected test case none

Daniel
Reported 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.
Attachments
Test case demonstrating the issue (462 bytes, text/html)
2018-07-29 13:48 PDT, Daniel
no flags
Corrected test case (438 bytes, text/html)
2018-07-30 08:56 PDT, Daniel
no flags
Daniel
Comment 1 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!
Brent Fulgham
Comment 2 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.
Radar WebKit Bug Importer
Comment 3 2022-07-15 13:34:03 PDT
Note You need to log in before you can comment on or make changes to this bug.