3 <style> video { zoom: 150%; border: 3px solid red; } </style>
4 <script src=media-file.js></script>
8 setSrcByTagName("video", findMediaFile("video", "content/test"));
10 var totalCount = document.getElementsByTagName('video').length;
11 var count = totalCount;
12 document.addEventListener("canplaythrough", function () {
14 if (window.layoutTestController)
15 setTimeout(function() { layoutTestController.notifyDone(); }, totalCount * 150);
19 if (window.layoutTestController) {
20 layoutTestController.waitUntilDone();
21 setTimeout(function() {
22 document.body.appendChild(document.createTextNode('FAIL'));
23 if (window.layoutTestController)
24 layoutTestController.notifyDone();
31 <body onload="init();">
32 <p>150% zoom, with width and height attributes </p>
33 <video width=320 height=240></video><br>
34 <p>150% zoom, without width and height attributes </p>
35 <video></video><br>