blob: 2f56208386a9d5841c43247536c8731b4eb909d7 [file] [log] [blame]
<video controls></video>
<script src=video-test.js></script>
<script>
testExpected("video.videoWidth", 0, "==");
testExpected("video.videoHeight", 0, "==");
waitForEvent('loadedmetadata', function () {
testExpected("video.videoWidth", 0, ">");
testExpected("video.videoHeight", 0, ">");
endTest();
} );
video.src = "content/test.mp4";
</script>