Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/table/animated-row-background.html

Issue 2501833002: Fix bug of animated table col/section/row background (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/invalidation/table/animated-row-background-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..801834399c0556385dd608fa28229adc9edcf54f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/table/animated-row-background.html
@@ -0,0 +1,28 @@
+<!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() {
+ console.log("onload");
wkorman 2016/11/15 18:45:11 rm
Xianzhu 2016/11/15 18:52:29 Done.
+ image.onload = runRepaintTest;
+ image.src="../../../fast/backgrounds/resources/red-green-animated.gif";
wkorman 2016/11/15 18:45:11 Why does the test need both this animated image in
Xianzhu 2016/11/15 18:52:29 The <img> element has two purposes: 1. ensures tha
+}
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/invalidation/table/animated-row-background-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698