[Webkit-unassigned] [Bug 106034] MediaControls::show() should make controls opaque

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 4 12:03:48 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=106034


Eric Carlson <eric.carlson at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #181324|review?                     |review+
               Flag|                            |




--- Comment #6 from Eric Carlson <eric.carlson at apple.com>  2013-01-04 12:05:46 PST ---
(From update of attachment 181324)
View in context: https://bugs.webkit.org/attachment.cgi?id=181324&action=review

> Source/WebCore/ChangeLog:9
> +        If the user exits fullscreen while the timer expires, webkit will call mediaControls::show(). However, show() actually displays nothing as the control is transparent.

Nit: this line is still twice as long as the others.

> LayoutTests/media/video-controls-visible-exiting-fullscreen.html:21
> +        function oncanplaythrough() {

Nit: a function's opening brace should be on a new line.

> LayoutTests/media/video-controls-visible-exiting-fullscreen.html:47
> +            if (opacity < 1) {
> +                failTest("Media control is not opaque.");
> +            } else {
> +                runWithKeyDown(function(){ video.webkitRequestFullscreen(); });

Nit: a single line if statement doesn't need a brace.

> LayoutTests/media/video-controls-visible-exiting-fullscreen.html:51
> +        function onfullscreenchange() {

Nit: a function's opening brace should be on a new line.

> LayoutTests/media/video-controls-visible-exiting-fullscreen.html:64
> +                    if (opacity < 1) {
> +                        failTest("Media control is not opaque.");
> +                    } else {
> +                        endTest();
> +                    }

Nit: a single line if statement doesn't need a brace.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list