| Index: LayoutTests/paint/invalidation/animated-gif.html
|
| diff --git a/LayoutTests/paint/invalidation/animated-gif.html b/LayoutTests/paint/invalidation/animated-gif.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..465da7e662626d74303ad2b76b7fe3bcd2f8f8d2
|
| --- /dev/null
|
| +++ b/LayoutTests/paint/invalidation/animated-gif.html
|
| @@ -0,0 +1,15 @@
|
| +<!doctype HTML>
|
| +<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
|
| +<script>
|
| +window.testIsAsync = true;
|
| +
|
| +// Tests that a repaint of the image occurs during the 200ms waiting period.
|
| +function repaintTest() {
|
| + setTimeout(finishRepaintTest, 200); // The initial red frame of the GIF has a 100ms duration
|
| +}
|
| +</script>
|
| +<body onload="runRepaintTest()">
|
| +<div style="height: 2000px; width: 2000px;">
|
| +<image src="../../fast/backgrounds/resources/red-green-animated.gif">
|
| +</div>
|
| +</div>
|
|
|