Closed
Bug 1125598
Opened 10 years ago
Closed 10 years ago
Clicks on video controls should not fire events on <video> element
Categories
(Toolkit :: Video/Audio Controls, defect)
Toolkit
Video/Audio Controls
Tracking
()
RESOLVED
DUPLICATE
of bug 1032246
People
(Reporter: admin, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux i686; rv:34.0) Gecko/20100101 Firefox/34.0 Iceweasel/34.0
Build ID: 20141203215732
Steps to reproduce:
Click on the play/pause button, seek bar, or volume controls of a <video> element that has mouse event listeners attached, e.g.:
http://jsfiddle.net/wb7fzsmg/
Actual results:
Firefox fires mouse events (mousedown, mouseup, click) on the video element.
Expected results:
Clicking on the video should fire these events, but clicking on the controls in the bar at the bottom of the video should not.
https://html.spec.whatwg.org/multipage/embedded-content.html#attr-media-controls
"If the user agent exposes a user interface to the user by displaying controls over the media element, then the user agent should suppress any user interaction events while the user agent is interacting with this interface. (For example, if the user clicks on a video's playback control, mousedown events and so forth would not simultaneously be fired at elements on the page.)"
Since
https://code.google.com/p/chromium/issues/detail?id=390186
this works as expected in Chrome.
Updated•10 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Component: Untriaged → Video/Audio Controls
OS: Linux → All
Product: Firefox → Toolkit
Hardware: x86 → All
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•