| Index: third_party/WebKit/LayoutTests/paint/invalidation/table/animated-row-background.html
|
| diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/table/animated-row-background.html b/third_party/WebKit/LayoutTests/paint/invalidation/table/animated-row-background.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ef44a82ba6f6b8d9dd05e6ccddb986488013d2ad
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/paint/invalidation/table/animated-row-background.html
|
| @@ -0,0 +1,29 @@
|
| +<!DOCTYPE html>
|
| +<style>
|
| +td { width: 100px; height: 100px }
|
| +tr { background-image: url(../../../fast/backgrounds/resources/red-green-animated.gif) }
|
| +</style>
|
| +<table>
|
| + <tr id="row">
|
| + <td id="cell1"></td>
|
| + <td id="cell2"></td>
|
| + </tr>
|
| +</table>
|
| +<img id="image">
|
| +<script src="../resources/text-based-repaint.js"></script>
|
| +<script>
|
| +window.testIsAsync = true;
|
| +function repaintTest() {
|
| + if (window.internals)
|
| + internals.advanceImageAnimation(image);
|
| + requestAnimationFrame(function() {
|
| + finishRepaintTest();
|
| + });
|
| +}
|
| +onload = function() {
|
| + // The image element ensures that the test runs just after the image
|
| + // resource is loaded, and will be used in advanceImageAnimation().
|
| + image.onload = runRepaintTest;
|
| + image.src="../../../fast/backgrounds/resources/red-green-animated.gif";
|
| +}
|
| +</script>
|
|
|