| <!-- webkit-test-runner [ enableModernMediaControls=false ] --> |
| audio { background-color: blue; } |
| <script src=media-file.js></script> |
| setSrcByTagName("audio", findMediaFile("audio", "content/test")); |
| testRunner.waitUntilDone(); |
| document.body.appendChild(document.createTextNode('FAIL')); |
| var count = document.getElementsByTagName('audio').length; |
| document.addEventListener("canplaythrough", function () { |
| document.body.offsetLeft; |
| <p>Test controls placement. </p> |
| <audio controls></audio><br><br> |
| <audio controls style="width: 320px;"></audio><br><br> |
| <audio controls style="position: absolute; width: 320px; height: 100px;"></audio><br> |