| <script>var requirePixelDump = true;</script> |
| <script src=../media-file.js></script> |
| <script src=../video-test.js></script> |
| <script src=../media-controls.js></script> |
| consoleWrite("Test that line position is applied correctly."); |
| video.src = findMediaFile('video', '../content/test'); |
| waitForEvent('seeked', seeked); |
| waitForEvent('canplaythrough', function() { video.currentTime = .5; }); |
| setCaptionDisplayMode('Automatic'); |
| <video style="position: absolute; left: 0px; top: 0px;" controls > |
| <track src="captions-webvtt/line-position.vtt" kind="captions" default> |
| <div class="obscurer" style="left: 0px; top: 100px;"></div> |