Closed
Bug 1469939
Opened 7 years ago
Closed 7 years ago
Svg element does not support passing of 'event' data for 'onmousemove' event. Instead throws ReferenceError: event is not defined
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 854213
People
(Reporter: vbspam, Unassigned)
Details
(4 keywords)
Attachments
(1 file)
|
672 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/66.0.3359.181 Chrome/66.0.3359.181 Safari/537.36
Steps to reproduce:
1. Created simple web page (see attached web page) containing SVG element with 'onmousemove' event handler.
2. Opened in Firefox
3. Opened Web developer=>Debugger
3. Moved over the SVG element
Actual results:
Firefox throws 'ReferenceError: event is not defined'
Expected results:
Should call handler with 'event' argument passed properly.
Comment 1•7 years ago
|
||
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0
20180621013659
I would've set the needinfo flag for :jwatt because of bug 312286 and bug 323676, but he's unavailable.
Status: UNCONFIRMED → NEW
Component: Untriaged → SVG
Ever confirmed: true
OS: Unspecified → All
Product: Firefox → Core
Hardware: Unspecified → All
Comment 2•7 years ago
|
||
Err, this used to work, at least long ago. I'm very surprised this hasn't come up before now!
This is controlled by gSVGEventNames:
https://dxr.mozilla.org/mozilla-central/rev/681eb7dfa324dd50403c382888929ea8b8b11b00/dom/base/nsContentUtils.cpp#3855
It seems that line hasn't changed since we switched from CVS to Mercurial though, so very possibly it's been broken for over a decade. We should certainly fix this though.
Comment 3•7 years ago
|
||
Apparently I misremembered - in fact we never did fix bug 854213, of which this is a dup I guess.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•