| Issue 25135: | svg onmousedown fire at wrong point when different viewbox used | |
| 4 people starred this issue and may be notified of changes. | Back to list |
Restricted
Sign in to add a comment
|
Chrome Version : Google Chrome 3.0.195.27 (Официальная сборка 28507) WebKit 532.0 V8 1.2.14.20 User Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.27 Safari/532.0 URLs (if applicable) : http://kudinov.name/chromebug.svg Other browsers tested: Safari 4: FAIL similiar but inverse by x axis Firefox 3.x: OK IE 7: OK IE 8: OK What steps will reproduce the problem? 1. open the attached file 2. click near the left and right side of the circle What is the expected result? onmousedown alert exactly when click the circle What happens instead? 1. onmousedown alert when click on space at left side of the circle 1. onmousedown no alert when click at right side of the circle Please provide any additional information below. Attach a screenshot if possible. bug appear only with viewbox changed to small values; also appear in Safari.
Feb 19, 2010
#1
dhw@chromium.org
Labels:
SVG
Jul 6, 2010
(No comment was entered for this change.)
Owner:
fsam...@chromium.org
Jul 6, 2010
(No comment was entered for this change.)
Cc:
rjkro...@chromium.org
Jul 7, 2010
I have attached a possible fix/workaround. Really there are two bugs. One is that mouse coordinates are truncated into an IntPoint in RenderSVGRoot::nodeAtPoint. That's an easy fix. The second issue is nasty. Skia doesn't play well with non-screen coordinate systems. The workaround is to simply scale the Path (circle) to coordinates that Skia can comfortably deal with (truncate into integers). I will post this patch on WebKit bugzilla too. I just wanted the opinion of people here on this workaround first.
Cc:
e...@chromium.org senorbla...@chromium.org
Nov 2, 2011
(No comment was entered for this change.)
Labels:
-SVG Webkit-SVG
Nov 2, 2011
(No comment was entered for this change.)
Labels:
-Area-Misc Area-WebKit
Feb 28, 2012
(No comment was entered for this change.)
Owner:
---
Apr 29, 2012
We finally squashed this bug with updated Skia hit testing :)
Status:
Duplicate
Mergedinto: 65238
Oct 13, 2012
This issue has been closed for some time. No one will pay attention to new comments. If you are seeing this bug or have new data, please click New Issue to start a new bug.
Labels:
Restrict-AddIssueComment-Commit
Mergedinto: chromium:65238
Mar 10, 2013
(No comment was entered for this change.)
Labels:
-Webkit-SVG -Area-WebKit Cr-Content-SVG Cr-Content
Apr 5, 2013
(No comment was entered for this change.)
Labels:
-Cr-Content Cr-Blink
Apr 5, 2013
(No comment was entered for this change.)
Labels:
-Cr-Content-SVG Cr-Blink-SVG
|
||||||||||||
| ► Sign in to add a comment | |||||||||||||