Open Bug 740206 Opened 12 years ago Updated 2 years ago

Drag events don't seem to fire properly on a video element with controls showing

Categories

(Toolkit :: Video/Audio Controls, defect)

x86
macOS
defect

Tracking

()

People

(Reporter: bobby, Unassigned)

Details

Attachments

(1 file)

Attached file drag event failure
When dragging an element over a <video>, "dragenter" and "dragleave" fire as expected until the "controls" attribute is applied. Dragging the element around the area the controls occupy will disrupt the fired events.

In the attached example, dragging over either <video> will cause it to become opaque. The video without controls works correctly, but the video with controls does not.

Live example: http://jsfiddle.net/zZq8J/6/
Upon further inspection, the chain of events seems to go something like this:

dragenter
dragenter
dragleave
dragenter

without ever moving off of the <video>.

When I do drag off though, I get something like this:
dragleave
dragleave

which is also confusing, since it's hard to leave something twice without re-entering it.

http://jsfiddle.net/zZq8J/8/
Probably this is video controls related, moving there.
Component: Video/Audio → Video/Audio Controls
Product: Core → Toolkit
QA Contact: video.audio → video.audio
Version: unspecified → Trunk
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: