Closed
Bug 676750
Opened 13 years ago
Closed 13 years ago
Inline event listeners should come first in the listener list
Categories
(Core :: DOM: Events, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: bzbarsky, Unassigned)
References
()
Details
The spec says (a bit down from the link target): All event handlers on an object, whether an element or some other object, and whether set to null or to a Function object, must be registered as event listeners on the object when it is created .... Event handlers therefore always run before event listeners attached using addEventListener(). I'm not going to do that in bug 659350 in the interests of sanity.
Comment 1•13 years ago
|
||
Spec bug.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
Comment 2•13 years ago
|
||
It doesn't matter in which way listeners are added, they are always called in the order they are added.
Comment 3•13 years ago
|
||
(In reply to Olli Pettay [:smaug] from comment #1) > Spec bug. Have you filed?
Comment 4•13 years ago
|
||
Not yet since I hadn't seen, and I was very surprised to see, this kind of text in the spec. I guess I and others need to review http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#event-handlers
Updated•13 years ago
|
Updated•13 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•