Closed
Bug 876550
Opened 10 years ago
Closed 10 years ago
Controls sometimes fail to fadeout
Categories
(Toolkit :: Video/Audio Controls, defect)
Toolkit
Video/Audio Controls
Tracking
()
RESOLVED
FIXED
mozilla24
People
(Reporter: Dolske, Assigned: Dolske)
References
Details
Attachments
(1 file)
1.09 KB,
patch
|
jaws
:
review+
|
Details | Diff | Splinter Review |
Noticed this looking at bug 876380. The testcase there has a video that is not very tall, and is just enough to trigger the "immediate" case in hideClickToPlay(). When that happens there is no transition, and thus onTransitionEnd() is never called. And so while the CTP section does get set to opacity:0, it's never hidden with |element.hidden=true|. And so in onMouseInOut the follow code gets hit: // Keep the controls visible if the click-to-play is visible. if (!this.clickToPlay.hidden) return; And thus the control bar is never hidden when the mouse exits the video. Adding |this.clickToPlay.hidden = true;| to the "immediate" case in hideClickToPlay() makes things work.
Assignee | ||
Comment 1•10 years ago
|
||
Fix seems harmless enough.
Assignee: nobody → dolske
Attachment #754648 -
Flags: review?(jaws)
Updated•10 years ago
|
Attachment #754648 -
Flags: review?(jaws) → review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 3•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/2078f638f08a
Keywords: checkin-needed
Comment 4•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/2078f638f08a
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in
before you can comment on or make changes to this bug.
Description
•