<rdar://problem/9322486> REGRESSION (r83397): Default controls fade out when playing...
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 Apr 2011 08:31:42 +0000 (08:31 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 Apr 2011 08:31:42 +0000 (08:31 +0000)
commitf00f455abb233068b0c9bacd76c93508d75ec54f
tree360a4a3b9c6089311e0e89b52d2bd1030c1d35f9
parent33f098afb6cb1efbe6cb2386ec94e56aa3a4d9bd
<rdar://problem/9322486> REGRESSION (r83397): Default controls fade out when playing audio-only media
https://bugs.webkit.org/show_bug.cgi?id=59180

Reviewed by Maciej Stachowiak.

Source/WebCore:

Test: media/audio-controls-do-not-fade-out.html

* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::playbackProgressTimerFired): Only start fading out the controls if there is
a video track.

LayoutTests:

* media/audio-controls-do-not-fade-out-expected.txt: Added.
* media/audio-controls-do-not-fade-out.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@84611 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/media/audio-controls-do-not-fade-out-expected.txt [new file with mode: 0644]
LayoutTests/media/audio-controls-do-not-fade-out.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/html/HTMLMediaElement.cpp