<?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>249914</bug_id>
          
          <creation_ts>2022-12-27 14:48:19 -0800</creation_ts>
          <short_desc>Make :has() unforgiving</short_desc>
          <delta_ts>2023-01-10 02:50:24 -0800</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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=244708</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BrowserCompat, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michał Gołębiowski-Owczarek">m.goleb+bugzilla</reporter>
          <assigned_to name="Tim Nguyen (:ntim)">ntim</assigned_to>
          <cc>karlcow</cc>
    
    <cc>koivisto</cc>
    
    <cc>myakura.web</cc>
    
    <cc>ntim</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1922035</commentid>
    <comment_count>0</comment_count>
    <who name="Michał Gołębiowski-Owczarek">m.goleb+bugzilla</who>
    <bug_when>2022-12-27 14:48:19 -0800</bug_when>
    <thetext>Per the CSS WG resolution:
https://github.com/w3c/csswg-drafts/issues/7676#issuecomment-1341347244
`:has()` should be unforgiving now.

It has already been fixed in Chrome:
https://bugs.chromium.org/p/chromium/issues/detail?id=1399744

Firefox hasn&apos;t implemented `:has()` yet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1922042</commentid>
    <comment_count>1</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2022-12-27 18:07:00 -0800</bug_when>
    <thetext>Needs probably to review these previous bugs too. 
https://bugs.webkit.org/buglist.cgi?bug_status=UNCONFIRMED&amp;bug_status=NEW&amp;bug_status=ASSIGNED&amp;bug_status=REOPENED&amp;list_id=8864308&amp;query_format=advanced&amp;short_desc=has%20invalidation&amp;short_desc_type=allwordssubstr</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1922043</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-12-27 18:07:28 -0800</bug_when>
    <thetext>&lt;rdar://problem/103733208&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1924159</commentid>
    <comment_count>3</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2023-01-09 13:47:05 -0800</bug_when>
    <thetext>(In reply to Karl Dubost from comment #1)
&gt; Needs probably to review these previous bugs too. 
&gt; https://bugs.webkit.org/buglist.
&gt; cgi?bug_status=UNCONFIRMED&amp;bug_status=NEW&amp;bug_status=ASSIGNED&amp;bug_status=REOP
&gt; ENED&amp;list_id=8864308&amp;query_format=advanced&amp;short_desc=has%20invalidation&amp;shor
&gt; t_desc_type=allwordssubstr

These bugs are unrelated, this is about parsing, the other ones are about style matching/invalidation</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1924260</commentid>
    <comment_count>4</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2023-01-09 19:51:45 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/8428</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1924358</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-01-10 02:50:21 -0800</bug_when>
    <thetext>Committed 258712@main (2eca427ede13): &lt;https://commits.webkit.org/258712@main&gt;

Reviewed commits have been landed. Closing PR #8428 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>