| OLD | NEW |
| (Empty) |
| 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; | |
| 10 } | |
| 11 </style> | |
| 12 <script src="../../resources/run-after-layout-and-paint.js"></script> | |
| 13 <script> | |
| 14 function step1() | |
| 15 { | |
| 16 document.getElementById("target").style.display="none"; | |
| 17 document.body.offsetTop; | |
| 18 if (window.testRunner) | |
| 19 testRunner.notifyDone(); | |
| 20 } | |
| 21 | |
| 22 function test() | |
| 23 { | |
| 24 if (window.testRunner) { | |
| 25 testRunner.dumpAsText(); | |
| 26 testRunner.waitUntilDone(); | |
| 27 } | |
| 28 runAfterLayoutAndPaint(step1); | |
| 29 } | |
| 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> | |
| OLD | NEW |