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="cursor: move" onclick="alert('Circle')"`. 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.
Created attachment 138095 [details] The SVG file to test
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?
(In reply to comment #2) > 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? 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
(In reply to comment #3) > (In reply to comment #2) > > 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? > > 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 Yes, looks like your nightly is outdated.
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 ***