<?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>84452</bug_id>
          
          <creation_ts>2012-04-20 08:05:20 -0700</creation_ts>
          <short_desc>[Chromium] Bad hit checking for small sizes with magnifying viewbox</short_desc>
          <delta_ts>2012-04-20 12:06:29 -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>DUPLICATE</resolution>
          <dup_id>84117</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>0</everconfirmed>
          <reporter name="Eric Wieser">wieser.eric</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>krit</cc>
    
    <cc>pdr</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>606578</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Wieser">wieser.eric</who>
    <bug_when>2012-04-20 08:05:20 -0700</bug_when>
    <thetext>The attached file is an svg document with a viewbox scaling one SVG unit to 50px. Within it are two black circles and a D shape, each of which with `style=&quot;cursor: move&quot; onclick=&quot;alert(&apos;Circle&apos;)&quot;`.

No two versions of webkit that were tested appear to behave in the same way, nor do any behave entirely correctly. Hitboxes are either absent or overly large.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>606579</commentid>
    <comment_count>1</comment_count>
      <attachid>138095</attachid>
    <who name="Eric Wieser">wieser.eric</who>
    <bug_when>2012-04-20 08:06:47 -0700</bug_when>
    <thetext>Created attachment 138095
The SVG file to test</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>606673</commentid>
    <comment_count>2</comment_count>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2012-04-20 10:20:12 -0700</bug_when>
    <thetext>This works in WebKit nightly. We saw some issues on Chromium in the past. Mainly because of an bug in Skia. Can you confirm that you use Chromium?

Changing the title to use the prefix chromium. Pdr, can you look at it please?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>606746</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Wieser">wieser.eric</who>
    <bug_when>2012-04-20 11:36:33 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; This works in WebKit nightly. We saw some issues on Chromium in the past. Mainly because of an bug in Skia. Can you confirm that you use Chromium?
&gt; 
&gt; Changing the title to use the prefix chromium. Pdr, can you look at it please?

A friend and I did a real mixture of tests:

 * Google Chrome 18.0.1025.162m - Small circle and D are unclickable, large circle has a square hitbox extending 50px on the sides
 * Chrome Canary build - Circles fixed, D unclickable
 * Safari - Large circle has a square bounding box
 * (possible out of date) webkit nightly - D shape has square hit box</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>606749</commentid>
    <comment_count>4</comment_count>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2012-04-20 11:41:27 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; (In reply to comment #2)
&gt; &gt; This works in WebKit nightly. We saw some issues on Chromium in the past. Mainly because of an bug in Skia. Can you confirm that you use Chromium?
&gt; &gt; 
&gt; &gt; Changing the title to use the prefix chromium. Pdr, can you look at it please?
&gt; 
&gt; A friend and I did a real mixture of tests:
&gt; 
&gt;  * Google Chrome 18.0.1025.162m - Small circle and D are unclickable, large circle has a square hitbox extending 50px on the sides
&gt;  * Chrome Canary build - Circles fixed, D unclickable
&gt;  * Safari - Large circle has a square bounding box
&gt;  * (possible out of date) webkit nightly - D shape has square hit box

Yes, looks like your nightly is outdated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>606785</commentid>
    <comment_count>5</comment_count>
    <who name="Philip Rogers">pdr</who>
    <bug_when>2012-04-20 12:06:29 -0700</bug_when>
    <thetext>This is still a bug on Skia-backed platforms for scaled paths. I recently fixed it for rects, circles, and ellipses but the problem remains for paths. Marking as a dupe of 84117.

*** This bug has been marked as a duplicate of bug 84117 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>138095</attachid>
            <date>2012-04-20 08:06:47 -0700</date>
            <delta_ts>2012-04-20 08:06:47 -0700</delta_ts>
            <desc>The SVG file to test</desc>
            <filename>broken[1].svg</filename>
            <type>image/svg+xml</type>
            <size>476</size>
            <attacher name="Eric Wieser">wieser.eric</attacher>
            
              <data encoding="base64">PHN2ZyBoZWlnaHQ9IjIwMCIgdmVyc2lvbj0iMS4xIiB3aWR0aD0iNDAwIiB4bWxucz0iaHR0cDov
L3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA4IDQiPg0KCTxjaXJjbGUgcj0iMSIg
Y3g9IjQiIGN5PSIyIiBzdHlsZT0iY3Vyc29yOiBtb3ZlIiBvbmNsaWNrPSJhbGVydCgnQ2lyY2xl
JykiIHN0cm9rZS13aWR0aD0iMCIvPg0KCTxjaXJjbGUgcj0iMC41IiBjeD0iNiIgY3k9IjIiIHN0
eWxlPSJjdXJzb3I6IG1vdmUiIG9uY2xpY2s9ImFsZXJ0KCdDaXJjbGUnKSIgc3Ryb2tlLXdpZHRo
PSIwIiAvPg0KCTxwYXRoIHN0eWxlPSJjdXJzb3I6IG1vdmUiIGQ9Ik0wLjI1IDBMMC4yNSAwLjI1
TC0wLjI1IDAuMjVMLTAuMjUgMEEwLjI1IDAuMjUgMCAxIDEgMC4yNSAwIiBzdHJva2Utd2lkdGg9
IjAiICB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyLCAyKSBzY2FsZSgyKSIgb25jbGljaz0iYWxlcnQo
J1NoYXBlJykiIC8+DQo8L3N2Zz4=
</data>

          </attachment>
      

    </bug>

</bugzilla>