WebCore:
[WebKit-https.git] / LayoutTests / media / video-dom-start.html
1 <video></video>
2 <p>Test that when start DOM attribute is set, playback starts from that time.</p>
3 <script src=video-test.js></script>
4 <script>
5 video.start = 1.0;
6 test("video.start == 1.0");
7 test("video.getAttribute('start') == '1s'");
8 waitForEventTestAndEnd('canplaythrough', "video.currentTime == 1.0");
9 video.src = "content/test.mp4";
10 run("video.load()");
11 </script>