<?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>111336</bug_id>
          
          <creation_ts>2013-03-04 09:00:42 -0800</creation_ts>
          <short_desc>[CSS Regions] Hit testing is broken with regions that have rounded corners</short_desc>
          <delta_ts>2013-05-15 02:30:11 -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>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>AdobeTracked</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>57312</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Mihai Balan">mibalan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>WebkitBugTracker</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>846544</commentid>
    <comment_count>0</comment_count>
      <attachid>191255</attachid>
    <who name="Mihai Balan">mibalan</who>
    <bug_when>2013-03-04 09:00:42 -0800</bug_when>
    <thetext>Created attachment 191255
Ref-test highlighting the problem

If a region has rounded corners (via border-radius), it still receives mouse events as if it wouldn&apos;t (e.g. hit area is still rectangular).

In the attached test case, moving the mouse cursor over both the green and the red dot at the top left of the yellow circle should make it appear on a green background (via CSS :hover).

However, if the yellow circle is a region, the mouse events will propagate to its parent only over the would-be-rectangular border (green dot) and not inside the area between the rectangular border and the actual circular border (red dot).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>889218</commentid>
    <comment_count>1</comment_count>
    <who name="Mihai Balan">mibalan</who>
    <bug_when>2013-05-15 02:30:11 -0700</bug_when>
    <thetext>On closer inspection, this doesn&apos;t look like a bug anymore - the same behavior happens without regions: children of an element with rounded borders will still receive mouse events even when the mouse is outside the rounded rectangle (but inside the &quot;real&quot; rectangle).

The lack of &quot;reaction&quot; when moving the mouse over the red dot in the actual file comes from the fact that the named flow contents &quot;eat up&quot; the mouse event and it never bubbles to the region (at least in the current event propagation model).

Closing as RESOLVED/INVALID :)</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>191255</attachid>
            <date>2013-03-04 09:00:42 -0800</date>
            <delta_ts>2013-03-04 09:00:42 -0800</delta_ts>
            <desc>Ref-test highlighting the problem</desc>
            <filename>region-background-clip.zip</filename>
            <type>application/x-zip-compressed</type>
            <size>1647</size>
            <attacher name="Mihai Balan">mibalan</attacher>
            
              <data encoding="base64">UEsDBBQACAAIABOWZEIAAAAAAAAAAAAAAAAkABAAcmVnaW9uLWJhY2tncm91bmQtY2xpcC1leHBl
Y3RlZC5odG1sVVgMAHrQNFFl0DRR9QEUAJVUW2/TMBR+Tn/FIQgJJLJ0l44tSyulazu6C1MvGZQ3
Jz5LDE4c2c6yDvHfcZJ2GxMS4JfjfD6X73w+jv+KilivC4RUZ3zQ8WsDnORJ38bcrgEkdNCx/Aw1
gTglUqHu2+Fy4hzZNa6Z5jiYY8JEDhGJvydSlDmFmLMC8L7AWBNtzny39TQhSq+bTQE/OpaVEZmw
3IPuScf62elYO7oSDhVaNadPGT0oJX9rU6KJxzKSoFvkyUlEFB4evGc3w+t51b04S0Rg1qdFmI7D
xOxO688gOQ1WxgwfMJfdGpiP+Xh2Mz/YK/eXatYNpkE1mq2Og8rtjVRwdpnS2XyyCr+JpXtOo8Nz
fkUwXOCXvf2JHAbjsf54NEwm9JJJ+fngeDUNklS4lcky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