Closed
Bug 1302385
Opened 8 years ago
Closed 6 years ago
SVG events on element with float value positions not always working
Categories
(Core :: SVG, defect, P3)
Tracking
()
RESOLVED
DUPLICATE
of bug 1167959
People
(Reporter: kubrick, Unassigned)
Details
Attachments
(3 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0
Build ID: 20160912030421
Steps to reproduce:
See the attached float.html
Actual results:
Every rectangle should respond to the mouse over event, only one does. Works on Chrome.
Reporter | ||
Comment 1•8 years ago
|
||
working with integer values only doesn't cause this problem (but I can't use it in my project because I'm depending on other libraries that expect floating point values to work).
Updated•8 years ago
|
Component: Untriaged → SVG
Product: Firefox → Core
Reporter | ||
Comment 2•8 years ago
|
||
I think it's a precision issue, if at any time in the scale conversion any of the position attributes becomes too small (~<0.0001) it gets truncated and doesn't get "scaled back up" from the DOM's point of view although it gets displayed properly.
Reporter | ||
Updated•8 years ago
|
Version: 51 Branch → 52 Branch
Reporter | ||
Comment 3•8 years ago
|
||
Hello,
Any progress on that? This is causing major usability issues with libraries like OpenSeaDragon...
F.
Comment hidden (obsolete) |
Reporter | ||
Updated•8 years ago
|
OS: Unspecified → All
Hardware: Unspecified → All
Version: 52 Branch → 53 Branch
Comment hidden (advocacy) |
Updated•8 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment hidden (obsolete) |
Updated•7 years ago
|
Priority: -- → P3
I'm getting the same results here as in bug 1167959 - the role of the viewBox transform in that bug is being played by the scale transform on the <g> in this bug. (I'm also seeing an identity transform on the anonymous child, but I guess that always happens since bug 1458968.)
The testcase here includes the relevant 1/60 grid points discussed in bug 1167959 - the yellow one was the one I hit in a test run.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•