Bug 15069 - Misalignment of event handlers on scaled images
Summary: Misalignment of event handlers on scaled images
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac (Intel) OS X 10.4
: P2 Normal
Assignee: Nobody
URL: http://6v8.gamboni.org/?page=test-svg
Keywords:
Depends on: 15281
Blocks:
  Show dependency treegraph
 
Reported: 2007-08-24 05:57 PDT by Pierre Andrews
Modified: 2007-09-26 07:15 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre Andrews 2007-08-24 05:57:06 PDT
I am not an expert in SVG so am not sure how to reproduce this bug in an easier way.

On the cited url, there are different event handlers on the scaled/rotated/translated images: events for mousedown and up as well as hovering.

On Opera/Firefox that works fine. With WebKit, the image borders (another rect under them) have the right events but not the images. However, it appears that "fantom" images (without scaling) are catching events. 

You can see this by clicking in random places (outside of images borders) on the display and dragging, sometime, a 1 scale image will appear and move with the drag, also moving the scaled version.

Not sure how to explain that better or reproduce it without all the js.
Comment 1 Eric Seidel (no email) 2007-09-25 13:09:22 PDT
I believe this bug is now fixed.  Testing was simply blocked by bug 15081 for a while.
Comment 2 Eric Seidel (no email) 2007-09-25 13:10:02 PDT
I meant bug 15281.
Comment 3 Eric Seidel (no email) 2007-09-25 13:24:22 PDT
bug 15281 shouldn't actually affect your ability to see for yourself that this is fixed, since the feature-branch nightlies don't build in Debug mode.

You can see for yourself that this is fixed using:
http://nightly.webkit.org/builds/mac-feature-branch/1

Thanks again for the bug!  (and awesome use of SVG!)