3 <style> video { zoom: 150%; border: 3px solid red; } </style>
5 if (window.internals) {
6 window.internals.settings.setForceCompositingMode(true);
9 <script src=media-file.js></script>
12 window.internals.settings.setMockScrollbarsEnabled(true);
16 setSrcByTagName("video", findMediaFile("video", "content/test"));
18 var totalCount = document.getElementsByTagName('video').length;
19 var count = totalCount;
20 document.addEventListener("canplaythrough", function () {
22 if (window.testRunner)
23 setTimeout(function() { testRunner.notifyDone(); }, totalCount * 150);
27 if (window.testRunner) {
28 testRunner.waitUntilDone();
29 setTimeout(function() {
30 document.body.appendChild(document.createTextNode('FAIL'));
31 if (window.testRunner)
32 testRunner.notifyDone();
39 <body onload="init();">
40 <p>150% zoom, with width and height attributes </p>
41 <video width=320 height=240></video><br>
42 <p>150% zoom, without width and height attributes </p>
43 <video></video><br>