Closed
Bug 678151
Opened 13 years ago
Closed 13 years ago
Mouse event doesn't work for SVGdocument + 2D transform after landing bug 505115
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
DUPLICATE
of bug 677878
People
(Reporter: m_kato, Unassigned)
References
Details
(Keywords: regression)
Attachments
(1 file)
738 bytes,
text/html
|
Details |
Before landing bug 505115 (3D transform support), this HTML works. but after landing it, it doesn't works. <!DOCTYPE html> <html> <head> <style> #japan-canvas { -moz-transform: scale(20,20); } </style> <script> function init() { // this doesn't work document.getElementById("japan-canvas").getSVGDocument().addEventListener("mousedown", function(event) { alert("test"); }, true); } </script> </head> <body onload="init();"> <object id="japan-canvas" type="image/svg+xml" data="..." /> </body> </html> If removing CSS of 2D transform, this works. Also, if I attach event to object element instead of SVG document, it works.
Updated•13 years ago
|
tracking-firefox8:
--- → ?
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Updated•13 years ago
|
tracking-firefox8:
? → ---
Assignee | ||
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•