<?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>140723</bug_id>
          
          <creation_ts>2015-01-21 08:12:56 -0800</creation_ts>
          <short_desc>SVG overflow:visible mouse events broken</short_desc>
          <delta_ts>2022-07-15 17:08:12 -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>SVG</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <bug_file_loc>http://codepen.io/anon/pen/pvPQqY</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>shauser</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>ap</cc>
    
    <cc>bbudd</cc>
    
    <cc>bfulgham</cc>
    
    <cc>krit</cc>
    
    <cc>mmaxfield</cc>
    
    <cc>rniwa</cc>
    
    <cc>sabouhallawa</cc>
    
    <cc>sriram15690</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1063058</commentid>
    <comment_count>0</comment_count>
    <who name="">shauser</who>
    <bug_when>2015-01-21 08:12:56 -0800</bug_when>
    <thetext>This is related to #96163 (https://bugs.webkit.org/show_bug.cgi?id=96163)

When `overflow: visible` is set on an SVG element, it now renders the overflowing content, 
however mouse events do not work.

In the linked example, hovering over the overflowed part of a `rect` node does not cause 
the `:hover` pseudo class to apply, and clicking in the overflowed part of a `rect` node
does not supply the correct event target for the event handler in the JS. Clicking on
parts of the `rect` within the SVG node does work as expected.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1063105</commentid>
    <comment_count>1</comment_count>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2015-01-21 11:10:58 -0800</bug_when>
    <thetext>Blink fix https://code.google.com/p/chromium/issues/detail?id=231577</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1063201</commentid>
    <comment_count>2</comment_count>
    <who name="">shauser</who>
    <bug_when>2015-01-21 15:14:36 -0800</bug_when>
    <thetext>Dirk, unsure what you mean. Are you just referencing the blink fix to facilitate fixing  webkit or are you suggesting that this issue has already been fixed?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1063314</commentid>
    <comment_count>3</comment_count>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2015-01-22 00:11:20 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; Dirk, unsure what you mean. Are you just referencing the blink fix to
&gt; facilitate fixing  webkit or are you suggesting that this issue has already
&gt; been fixed?

This is meant for the developer fixing this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1063348</commentid>
    <comment_count>4</comment_count>
    <who name="">shauser</who>
    <bug_when>2015-01-22 06:11:22 -0800</bug_when>
    <thetext>Cool, thanks for clarifying.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1248713</commentid>
    <comment_count>5</comment_count>
    <who name="Bob Budd">bbudd</who>
    <bug_when>2016-11-07 04:28:36 -0800</bug_when>
    <thetext>I&apos;m wondering if there&apos;s any movement on this bug at all? Anything roadmapped? I&apos;d love to see a fix for this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1537559</commentid>
    <comment_count>6</comment_count>
    <who name="Sriram R">sriram15690</who>
    <bug_when>2019-05-20 04:20:46 -0700</bug_when>
    <thetext>I&apos;m wondering if there&apos;s any movement on this bug at all? Anything road mapped? I&apos;d love to see a fix for this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1883767</commentid>
    <comment_count>7</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-07-14 13:53:17 -0700</bug_when>
    <thetext>I am able to reproduce this bug in Safari 15.5 on macOS 12.4 by performing following steps:

1) Load Codepen from the Description or URL
2) Hover the mouse on &quot;BLACK&quot; square on the outer edge (outside of red square - which is overlapped by black square)
3) Hover will not be activated (except for first - top left) and clicking with give &quot;BODY&quot; as result

--&gt; Expected Result (Which is consistent across all other browsers - Chrome Canary 105 and Firefox Nightly 104):

hover to be activated even if the mouse cursor is outside on the black square portion

--&gt; Actual Result:

Hover only activate for nodes when mouse is on red square or inner part of black box covering red square

If I am testing incorrectly, please retest accordingly. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1884444</commentid>
    <comment_count>8</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-07-15 17:08:12 -0700</bug_when>
    <thetext>This actually seems to work properly, at least in Safari 16 on macOS 13 Beta. I can click in areas outside of the SVG, and see things like BODY, P, LI, and so forth.

I think this behavior has progressed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>