Last Comment Bug 265895 - Support SVGElementInstance event delivery for <svg:use>
: Support SVGElementInstance event delivery for <svg:use>
Product: Core
Classification: Components
Component: SVG (show other bugs)
: Trunk
: All All
-- normal with 19 votes (vote)
: mozilla1.9.2a1
Assigned To: Nobody; OK to take it and work on it
: Jet Villegas (:jet)
: 513579 957313 (view as bug list)
Depends on: 237020
Blocks: 595840 485172 508561
  Show dependency treegraph
Reported: 2004-10-24 15:17 PDT by tor
Modified: 2016-03-23 09:40 PDT (History)
18 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

all three rectangles should raise an alert when clicked (2.10 KB, image/svg+xml)
2009-03-25 09:45 PDT, jonathan chetwynd
no flags Details
Test cases for addEventListener bug (4.63 KB, image/svg+xml)
2011-03-12 08:03 PST, Sean Werkema
no flags Details

Description User image tor 2004-10-24 15:17:58 PDT
Comment 1 User image jonathan chetwynd 2009-03-25 09:45:20 PDT
Created attachment 369293 [details]
all three rectangles should raise an alert when clicked

if a better testcase is available please attach.

parity Opera
Comment 2 User image Robert Longson 2010-02-10 07:09:45 PST
*** Bug 513579 has been marked as a duplicate of this bug. ***
Comment 3 User image Alex Haan 2010-07-09 16:51:59 PDT
I don't see any onmouseclick attributes on some of those SVG elements. Why are they still supposed to fire events still?
Comment 4 User image Robert Longson 2010-07-09 18:11:03 PDT
The testcase uses addEventListener instead of an onmouseclick attribute. It's just two different ways of doing the same thing.
Comment 5 User image Alex Haan 2010-07-10 05:03:38 PDT
Sigh, my bad. Can't wrap my mind around it. Must be the heat.
Comment 6 User image Sean Werkema 2011-03-12 08:03:43 PST
Created attachment 518946 [details]
Test cases for addEventListener bug

As I bumped into this bug myself yesterday, I spent some time building a series of simple test cases to demonstrate the bug more precisely and show what works and what doesn't in Firefox.

Clicking on any square in the test-case file should produce an alert dialog box.

All of the test cases pass in Opera 11, Safari 5, and Chrome 10.  I have not tested it in IE9.

However, while Firefox correctly handles clicks on the ten green squares, it fails on clicks on the four red squares in both Firefox 3.6 and in Firefox 4.0 RC1.
Comment 7 User image Robert Longson 2014-01-14 06:06:17 PST
*** Bug 957313 has been marked as a duplicate of this bug. ***
Comment 8 User image Cameron McCormack (:heycam) 2016-03-17 00:14:41 PDT
SVGElementInstance trees have been removed from SVG 2, so we won't be doing this.

Note You need to log in before you can comment on or make changes to this bug.