3 <script src="../../resources/run-after-display.js"></script>
4 <script src="resources/text-based-repaint.js"></script>
5 <style type="text/css">
11 background-image: url(resources/animated.gif)
14 background-color: green;
21 background-image: url(resources/animated.gif);
22 background-repeat: no-repeat;
23 background-position: center;
27 background-color: green;
35 background-image: url(resources/animated.gif)
41 background-color: red;
42 background-repeat: no-repeat;
43 background-position: center;
44 background-image: url(resources/animated.gif)
48 // Test that obscured animated gif does not trigger repaints.
49 if (window.testRunner)
50 testRunner.waitUntilDone();
51 window.testIsAsync = true;
52 function repaintTest()
54 runAfterDisplay(finishRepaintTest);
58 if (!window.testRunner || !window.internals)
61 var img = new Image();
62 img.onload = runRepaintTest;
63 img.src = "resources/animated.gif";
67 <body onload="start()">
81 <img src="resources/apple.jpg">
88 <img src="resources/apple.jpg">