summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/transitions/hang-with-bad-transition-list.html
blob: 4b506cf84d0113951add2e2ade4209b2f988b0b8 (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
25
26
27
28
29
30
31
<html>
<head>
  <style>
    span {
        background: blue;
        color: white;
        opacity: .666;
        -webkit-transition: opacity, .1s, .1s ease-out;
    }
  </style>
  <script>
    if (window.testRunner) {
        testRunner.dumpAsText();
        testRunner.waitUntilDone();
    }
    onload = function() {
        var doomSpan = document.getElementById("doomSpan");
        doomSpan.style.opacity=1;
        if (testRunner)
            doomSpan.addEventListener('webkitTransitionEnd', function() { testRunner.notifyDone(); });
    }
  </script>
</head>
<body>

<span id="doomSpan">PASS: If you can see this then we didn't hang!!!</span>

<div id="result">
</div>
</body>
</html>