RESOLVED DUPLICATE of bug 84117 Bug 84452
[Chromium] Bad hit checking for small sizes with magnifying viewbox
https://bugs.webkit.org/show_bug.cgi?id=84452
Summary [Chromium] Bad hit checking for small sizes with magnifying viewbox
Eric Wieser
Reported 2012-04-20 08:05:20 PDT
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.
Attachments
The SVG file to test (476 bytes, image/svg+xml)
2012-04-20 08:06 PDT, Eric Wieser
no flags
Eric Wieser
Comment 1 2012-04-20 08:06:47 PDT
Created attachment 138095 [details] The SVG file to test
Dirk Schulze
Comment 2 2012-04-20 10:20:12 PDT
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?
Eric Wieser
Comment 3 2012-04-20 11:36:33 PDT
(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
Dirk Schulze
Comment 4 2012-04-20 11:41:27 PDT
(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.
Philip Rogers
Comment 5 2012-04-20 12:06:29 PDT
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 ***
Note You need to log in before you can comment on or make changes to this bug.