2f56208386a9d5841c43247536c8731b4eb909d7
[WebKit-https.git] / LayoutTests / media / video-size.html
1 <video controls></video>
2 <script src=video-test.js></script>
3 <script>
4     testExpected("video.videoWidth", 0, "==");
5     testExpected("video.videoHeight", 0, "==");
6
7     waitForEvent('loadedmetadata', function () { 
8         testExpected("video.videoWidth", 0, ">");
9         testExpected("video.videoHeight", 0, ">");
10         endTest();
11     } );
12
13     video.src = "content/test.mp4";
14 </script>