Closed Bug 608630 Opened 9 years ago Closed 9 years ago
Media element's simple events shouldn't bubble
Our media element events are bubbling. They shouldn't be. Whenever the WHATWG spec talks about "firing a simple event named 'e'", it links to http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#fire-a-simple-event, which says: "Firing a simple event named e means that an event with the name e, which does not bubble (except where otherwise stated) and is not cancelable (except where otherwise stated), and which uses the Event interface, must be dispatched at the given target." So we should not bubble when firing simple events on the media element. I note that Chrome and Opera aren't bubbling.
Assignee: nobody → chris
blocking2.0: --- → ?
blocking2.0: ? → betaN+
Don't bubble media events. "error" listener in video controls must capture, so it can receive "error" events dispatched to source children.
Attachment #487287 - Flags: review?(roc)
Attachment #487287 - Flags: review?(roc) → review+
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.