blob: c70a8c80642e9da3a8ec03f3044dc6f58a4d6ed9 [file] [log] [blame]
<html>
<body>
<video loop controls></video>
<p>Test that seeking video with no 'src' attribute sets default playback start position to that time.</p>
<script src=video-test.js></script>
<script>
testExpected("video.networkState", HTMLMediaElement.NETWORK_EMPTY);
testExpected("video.readyState", HTMLMediaElement.HAVE_NOTHING);
video.currentTime = 1.1;
testExpected("video.currentTime", 1.1);
endTest();
</script>
</body>
</html>