summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/images/gif-loop-count.html
blob: de2d0820e9ad03caac80a23d8b7e8a568164011d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<html>
<head>
<script>
    function step2() {
        if (window.testRunner)
            testRunner.notifyDone();
    }
    function step1() {
        document.getElementById('replaceme').src = 'resources/gif-loop-count.gif';
        setTimeout("step2()", 200);
    }
    function test() {
        if (window.testRunner) {
            testRunner.waitUntilDone();
        }
        setTimeout("step1()", 200);
    }
</script>
</head>
<body onload="test()">
<img src="resources/gif-loop-count.gif" style="position:absolute;left:0;top:0">
<img src="resources/gif-loop-count.png" id="replaceme" style="position:absolute;left:0;top:0">
</body>
</html>