3 <style> video { zoom:
150%; border:
3px solid red; }
</style>
4 <script src=media-file.js
></script>
7 window
.internals
.settings
.setMockScrollbarsEnabled(true);
11 setSrcByTagName("video", findMediaFile("video", "content/test"));
13 var totalCount
= document
.getElementsByTagName('video').length
;
14 var count
= totalCount
;
15 document
.addEventListener("canplaythrough", function () {
17 if (window
.testRunner
)
18 setTimeout(function() { testRunner
.notifyDone(); }, totalCount
* 150);
22 if (window
.testRunner
) {
23 testRunner
.waitUntilDone();
24 setTimeout(function() {
25 document
.body
.appendChild(document
.createTextNode('FAIL'));
26 if (window
.testRunner
)
27 testRunner
.notifyDone();
34 <body onload=
"init();">
35 <p>150% zoom, with width and height attributes
</p>
36 <video width=
320 height=
240></video><br>
37 <p>150% zoom, without width and height attributes
</p>
38 <video></video><br>