Closed
Bug 164132
Opened 22 years ago
Closed 22 years ago
<handler event="keydown"> fails when bound to <svg>
Categories
(Core :: XBL, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: jwatt, Assigned: hyatt)
Details
build 20020815 A binding with a handler element that has an event property set to any of the *mouse* events works fine when bound to the svg element and viewed in an SVG build. However, if the event attribute is set to one of the *key* events then its code is never executed. I have tested the same bindings code attached to HTML elements and they work fine (for the most part).
Comment 1•22 years ago
|
||
Have you tried applying any of the CSS3 UI properties to the <svg> element? -moz-user-focus: normal; in particular?
Assignee | ||
Comment 2•22 years ago
|
||
That's right. You need to use moz-user-focus to say your element can receive focus. Only then will you get key events.
Reporter | ||
Comment 3•22 years ago
|
||
Sorry. I didn't know about that CSS prop. The bindings work fine, my mistake.
You need to log in
before you can comment on or make changes to this bug.
Description
•