Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / images / animated-background-image-crash.html
bloba489bffb1ecdaf11306be221e35ac6077835a253
1 <html>
2 <head>
3 <title></title>
4 <style>
5 div {
6 width: 40px;
7 height: 40px;
8 background: url(resources/animated.gif) top left no-repeat,
9 url(resources/animated2.gif) bottom right no-repeat;
11 </style>
12 <script src="../../resources/run-after-layout-and-paint.js"></script>
13 <script>
14 function step1()
16 document.getElementById("target").style.display="none";
17 document.body.offsetTop;
18 if (window.testRunner)
19 testRunner.notifyDone();
22 function test()
24 if (window.testRunner) {
25 testRunner.dumpAsText();
26 testRunner.waitUntilDone();
28 runAfterLayoutAndPaint(step1);
30 </script>
31 </head>
32 <body onload="test()">
33 <p>
34 Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=12487">http://bugs.webkit.org/show_bug.cgi?id=12487</a>
35 REGRESSION: Repro crash when a second background image is animated</i>.
36 </p>
37 <p>
38 This test should not make Safari crash.
39 </p>
40 <div id="target"></div>
41 </body>
42 </html>