blob: f78354a693bb5c7a06caf7f5e45b8dd1a67f365c [file] [log] [blame]
Test that playing video rewinds to time specified by the loopStart DOM attribute when it loops.
TEST(video.loopStart==1.0) OK
TEST(video.getAttribute('loopstart') == '1s') OK
RUN(video.play())
EVENT(load)
EVENT(timeupdate)
EVENT(timeupdate)
EVENT(timeupdate)
TEST(video.currentLoop == 1) OK
TEST(video.currentTime.toFixed(1) == 1.0) OK
END OF TEST