3 <title>Test visibiblity of controls when focusing of
<video
></title>
4 <script src=video-test.js
></script>
5 <script src=media-controls.js
></script>
7 Test that video controls don't appear when the media (
<video
>) element is
8 focused and the 'controls' attribute is not set.
10 <!-- 'tabindex' makes the video focusable despite it not having controls -->
11 <video tabindex=
"0" autoplay
src=
"content/test.ogv"></video>
14 var video
= document
.querySelector("video");
16 video
.addEventListener("playing", function()
18 runAfterHideMediaControlsTimerFired(function()
20 controls
= mediaControlsButton(video
, "panel");
23 testExpected("getComputedStyle(controls).opacity", 0);