| Index: third_party/WebKit/LayoutTests/paint/invalidation/animated-png.html
|
| diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/animated-png.html b/third_party/WebKit/LayoutTests/paint/invalidation/animated-png.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5dd75c671927654c16128bbd18cc4ed2c1716c8a
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/paint/invalidation/animated-png.html
|
| @@ -0,0 +1,22 @@
|
| +<!doctype HTML>
|
| +<body>
|
| +<div style="height: 2000px; width: 2000px;">
|
| + <img id="targetImage">
|
| +</div>
|
| +<script src="resources/text-based-repaint.js"></script>
|
| +<script>
|
| +window.testIsAsync = true;
|
| +
|
| +function repaintTest() {
|
| + if (window.internals)
|
| + internals.advanceImageAnimation(targetImage);
|
| + requestAnimationFrame(function() {
|
| + finishRepaintTest();
|
| + });
|
| +}
|
| +
|
| +window.onload = function() {
|
| + targetImage.onload = runRepaintTest;
|
| + targetImage.src="../../fast/backgrounds/resources/red-green-animated.png";
|
| +}
|
| +</script>
|
|
|