<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>188150</bug_id>
          
          <creation_ts>2018-07-29 13:48:07 -0700</creation_ts>
          <short_desc>Match in group of selectors forgotten when group contains more than one negation pseudo-class selectors (:not())</short_desc>
          <delta_ts>2022-07-15 13:34:03 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>Safari Technology Preview</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Daniel">code</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>koivisto</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1446117</commentid>
    <comment_count>0</comment_count>
      <attachid>346037</attachid>
    <who name="Daniel">code</who>
    <bug_when>2018-07-29 13:48:07 -0700</bug_when>
    <thetext>Created attachment 346037
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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1446219</commentid>
    <comment_count>1</comment_count>
      <attachid>346061</attachid>
    <who name="Daniel">code</who>
    <bug_when>2018-07-30 08:56:50 -0700</bug_when>
    <thetext>Created attachment 346061
Corrected test case

I uploaded the wrong version of the file. Adding correct test case now. Sorry!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1884163</commentid>
    <comment_count>2</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-07-15 13:33:52 -0700</bug_when>
    <thetext>Safari, Chrome, and Firefox all agree on rendering for this test case. I don&apos;t believe there is any remaining compatibility issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1884164</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-07-15 13:34:03 -0700</bug_when>
    <thetext>&lt;rdar://problem/97091339&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="0"
              isprivate="0"
          >
            <attachid>346037</attachid>
            <date>2018-07-29 13:48:07 -0700</date>
            <delta_ts>2018-07-30 08:56:50 -0700</delta_ts>
            <desc>Test case demonstrating the issue</desc>
            <filename>testcase.html</filename>
            <type>text/html</type>
            <size>462</size>
            <attacher name="Daniel">code</attacher>
            
              <data encoding="base64">PCFkb2N5cGUgaHRtbD4KPGh0bWw+CjxoZWFkPgo8bWV0YSBjaGFyc2V0PSJ1dGYtOCI+CjxzdHls
ZT4KLmNvbnRhaW5lcjEsIC5jb250YWluZXIyIHsKaGVpZ2h0OjEwMHB4Owp3aWR0aDoxMDBweDsK
UG9zaXRpb246cmVsYXRpdmU7Cn0KLmNvbnRhaW5lcjEgewpiYWNrZ3JvdW5kLWNvbG9yOnJlZDsK
fQouY29udGFpbmVyMiB7CmJhY2tncm91bmQtY29sb3I6Ymx1ZTsKfQouY29udGFpbmVyMTpub3Qo
LmNsYXNzMSksCi5jb250YWluZXIxOm5vdCgubm9uZXhpc3RpbmdjbGFzczEpIHsKcGFkZGluZy1s
ZWZ0OjUwcHg7Cjwvc3R5bGU+CjwvaGVhZD4KPGJvZHk+CjxwPlRoZXJlIHNob3VsZCBiZSBhIGJs
dWUgc3F1YXJlIGFuZCBubyB2aXNpYmxlIHJlZC48L3A+IAo8ZGl2IGNsYXNzPSJjb250YWluZXIx
IGNsYXNzMSI+CjxkaXYgY2xhc3M9ImNvbnRhaW5lcjIiPgo8YnIgLz4KPC9kaXY+CjwvZGl2Pgo8
L2h0bWw+
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>346061</attachid>
            <date>2018-07-30 08:56:50 -0700</date>
            <delta_ts>2018-07-30 08:56:50 -0700</delta_ts>
            <desc>Corrected test case</desc>
            <filename>corrected_testcase.html</filename>
            <type>text/html</type>
            <size>438</size>
            <attacher name="Daniel">code</attacher>
            
              <data encoding="base64">PCFkb2N5cGUgaHRtbD4KPGh0bWw+CjxoZWFkPgo8bWV0YSBjaGFyc2V0PSJ1dGYtOCI+CjxzdHls
ZT4KLmNvbnRhaW5lcjEsIC5jb250YWluZXIyIHsKaGVpZ2h0OjEwMHB4Owp3aWR0aDoxMDBweDsK
fQouY29udGFpbmVyMSB7CmJhY2tncm91bmQtY29sb3I6cmVkOwp9Ci5jb250YWluZXIyIHsKYmFj
a2dyb3VuZC1jb2xvcjpibHVlOwp9Ci5jb250YWluZXIxOm5vdCguY2xhc3MxKSwKLmNvbnRhaW5l
cjE6bm90KC5jbGFzczEudGVzdDEpIHsKcGFkZGluZy1sZWZ0OjUwcHg7Cjwvc3R5bGU+CjwvaGVh
ZD4KPGJvZHk+CjxwPlRoZXJlIHNob3VsZCBiZSBhIGJsdWUgc3F1YXJlIGFuZCBubyB2aXNpYmxl
IHJlZC48L3A+IAo8ZGl2IGNsYXNzPSJjb250YWluZXIxIGNsYXNzMSI+CjxkaXYgY2xhc3M9ImNv
bnRhaW5lcjIiPgo8YnIgLz4KPC9kaXY+CjwvZGl2Pgo8L2h0bWw+
</data>

          </attachment>
      

    </bug>

</bugzilla>