Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / media / video-paint-invalidation.html
blobc80b92b74b44f34c5f524a30754b52b1125d194a
1 <!DOCTYPE html>
2 <script src="../fast/repaint/resources/text-based-repaint.js"></script>
3 <video id="video" controls></video>
4 <script>
5 if (testRunner)
6 testRunner.waitUntilDone();
8 var video = document.getElementById("video");
9 var done = false;
10 var listener = document.addEventListener("canplaythrough", function() {
11 if (done)
12 return;
13 done = true;
14 video.currentTime = video.duration;
15 runRepaintTest();
16 }, true);
18 function repaintTest() {
19 video.play();
22 video.src = "content/test-25fps.ogv";
23 </script>