Closed Bug 678151 Opened 14 years ago Closed 14 years ago

Mouse event doesn't work for SVGdocument + 2D transform after landing bug 505115

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 677878

People

(Reporter: m_kato, Unassigned)

References

Details

(Keywords: regression)

Attachments

(1 file)

Attached file test case
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.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: