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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 td { width: 100px; height: 100px }
4 tr { background-image: url(../../../fast/backgrounds/resources/red-green-animate d.gif) }
5 </style>
6 <table>
7 <tr id="row">
8 <td id="cell1"></td>
9 <td id="cell2"></td>
10 </tr>
11 </table>
12 <img id="image">
13 <script src="../resources/text-based-repaint.js"></script>
14 <script>
15 window.testIsAsync = true;
16 function repaintTest() {
17 if (window.internals)
18 internals.advanceImageAnimation(image);
19 requestAnimationFrame(function() {
20 finishRepaintTest();
21 });
22 }
23 onload = function() {
24 console.log("onload");
wkorman 2016/11/15 18:45:11 rm
Xianzhu 2016/11/15 18:52:29 Done.
25 image.onload = runRepaintTest;
26 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
27 }
28 </script>
OLDNEW
« 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