<?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>152548</bug_id>
          
          <creation_ts>2015-12-24 12:30:47 -0800</creation_ts>
          <short_desc>clip-path property incorrectly clips pointer-events for clipped elements</short_desc>
          <delta_ts>2021-11-13 07:00:31 -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>Layout and Rendering</component>
          <version>Safari 9</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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>
          
          <blocked>126207</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Klemen Slavic">krof.drakula</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>augus.dupin</cc>
    
    <cc>dnl.rlnd</cc>
    
    <cc>edarocha1324</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1151283</commentid>
    <comment_count>0</comment_count>
    <who name="Klemen Slavic">krof.drakula</who>
    <bug_when>2015-12-24 12:30:47 -0800</bug_when>
    <thetext>Reproduction URL: http://codepen.io/KrofDrakula/pen/zrKNKP

What steps will reproduce the problem?
1. open the page in the link
2. try clicking outside of the images/red area on the text surrounding the images
3. popup alert() appears notifying you of a click on one of the .content &lt;img&gt; elements

What is the expected result?

Should not pop up an alert() since the images should not be clickable outside of their clip-path regions (clipped by its parent, .view).

What happens instead of that?

Pointer events are triggered on the fixed positioned element outside of its parent&apos;s clipping path, which it shouldn&apos;t (it doesn&apos;t render outside of the bounds of its parent&apos;s clip path).

Note: this happens in Chrome, too (https://code.google.com/p/chromium/issues/detail?id=572107). Firefox handles this correctly, but in the demo page, the third example doesn&apos;t work since it only supports URL SVG clipping paths, not inset().</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1624416</commentid>
    <comment_count>1</comment_count>
    <who name="Daniele Orlando">dnl.rlnd</who>
    <bug_when>2020-03-01 14:12:26 -0800</bug_when>
    <thetext>I still can reproduce this bug with Safari 13.0.5, 4 years ago.
Firefox and Chrome do behave as expected instead.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1624577</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-03-02 09:45:11 -0800</bug_when>
    <thetext>&lt;rdar://problem/59954339&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1814747</commentid>
    <comment_count>3</comment_count>
    <who name="Bruno Stasse">augus.dupin</who>
    <bug_when>2021-11-13 07:00:31 -0800</bug_when>
    <thetext>This seems fixed in STP 134 (and maybe before)? I can&apos;t reproduce anymore with the testcase.

There are still issues probably related to this, with scrolling. I just created this: https://bugs.webkit.org/show_bug.cgi?id=233084</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>