Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / media / video-seek-no-src.html
blobc70a8c80642e9da3a8ec03f3044dc6f58a4d6ed9
1 <html>
2 <body>
4 <video loop controls></video>
6 <p>Test that seeking video with no 'src' attribute sets default playback start position to that time.</p>
8 <script src=video-test.js></script>
9 <script>
10 testExpected("video.networkState", HTMLMediaElement.NETWORK_EMPTY);
11 testExpected("video.readyState", HTMLMediaElement.HAVE_NOTHING);
12 video.currentTime = 1.1;
13 testExpected("video.currentTime", 1.1);
14 endTest();
15 </script>
17 </body>
18 </html>