4 audio { background-color: blue; }
6 <script src=media-file.js></script>
10 setSrcByTagName("audio", findMediaFile("audio", "content/test"));
12 if (window.testRunner) {
13 testRunner.waitUntilDone();
14 setTimeout(function() {
15 document.body.appendChild(document.createTextNode('FAIL'));
16 if (window.testRunner)
17 testRunner.notifyDone();
20 var count = document.getElementsByTagName('audio').length;
21 document.addEventListener("canplaythrough", function () {
23 document.body.offsetLeft;
24 if (window.testRunner)
25 testRunner.notifyDone();
31 <body onload="test()">
32 <p>Test controls placement. </p>
33 <audio controls></audio><br><br>
34 <audio controls style="width: 320px;"></audio><br><br>
35 <audio controls style="position: absolute; width: 320px; height: 100px;"></audio><br>