<?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>228262</bug_id>
          
          <creation_ts>2021-07-23 20:57:16 -0700</creation_ts>
          <short_desc>Regression causing elements that use clip-path to be unclickable</short_desc>
          <delta_ts>2021-07-24 22:08:24 -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>UI Events</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Mac (Intel)</rep_platform>
          <op_sys>macOS 11</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>227624</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>christoph-wk</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1779296</commentid>
    <comment_count>0</comment_count>
    <who name="">christoph-wk</who>
    <bug_when>2021-07-23 20:57:16 -0700</bug_when>
    <thetext>In this repro case: 

https://codepen.io/cmbartschat/full/KKmyovz

The expected behavior is that both &lt;a&gt; tags can be hovered and clicked on, but instead, I&apos;m seeing that the second link, the one with clip-path applied, is not receiving pointer events, so I can&apos;t hover or click on it.


There is a regression between: 

Safari on Mac - Version 14.1.2 (16611.3.10.1.3) (Works as expected)

Safari Tech Preview - Release 128 (Safari 15.0, WebKit 16612.1.22.11.3) (Does not work as expected)

I&apos;m also seeing the problem in Safari on iPadOS 15.0.



Some extra observations: 

- If the &lt;h1&gt; gets margin: 0 or display: none, the problem goes away.
- If the wrapper gets position: static instead of position: relative, the problem goes away.



Please let me know if I can provide any more details!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1779357</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2021-07-24 22:08:24 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 227624 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>