3 This tests that audio controls do not fade out when the audio is playing.
6 FAIL: Test did not run.
8 <audio id="audio" controls autoplay onplaying="playing()" src="content/silence.wav"></audio><br>
10 if (window.testRunner) {
11 testRunner.waitUntilDone();
12 testRunner.dumpAsText();
16 setTimeout(function() {
17 var controls = internals.shadowRoot(document.getElementById("audio")).firstChild.firstChild;
18 var opacity = getComputedStyle(controls).opacity;
19 document.getElementById("result").innerText = opacity < 1 ? "FAIL" : "PASS";
20 testRunner.notifyDone();