Closed
Bug 608630
Opened 14 years ago
Closed 14 years ago
Media element's simple events shouldn't bubble
Categories
(Core :: Audio/Video, defect)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
blocking2.0 | --- | betaN+ |
People
(Reporter: cpearce, Assigned: cpearce)
Details
Attachments
(1 file)
38.96 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
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 | ||
Updated•14 years ago
|
Assignee: nobody → chris
blocking2.0: --- → ?
Assignee | ||
Updated•14 years ago
|
Status: NEW → ASSIGNED
blocking2.0: ? → betaN+
Assignee | ||
Comment 1•14 years ago
|
||
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+
Assignee | ||
Comment 2•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•