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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/table-cell-move-expected.html

Issue 1994373002: Convert some repaint tests into ref tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months 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
OLDNEW
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd"> 2 "http://www.w3.org/TR/html4/strict.dtd">
3 <html> 3 <html>
4 <head> 4 <body>
5 <script src="resources/text-based-repaint.js"></script>
6 <script>
7 function repaintTest()
8 {
9 document.getElementById("t").style.height='60px';
10 document.getElementById("s").style.height='0';
11 }
12 </script>
13 </head>
14 <body onload="runRepaintTest();">
15 <p><b>BUG ID:</b> <a href="https://bugs.webkit.org/show_bug.cgi?id=8449">Bugzill a bug 8449</a> 5 <p><b>BUG ID:</b> <a href="https://bugs.webkit.org/show_bug.cgi?id=8449">Bugzill a bug 8449</a>
16 REGRESSION: Incomplete repaint of table cell that moved 6 REGRESSION: Incomplete repaint of table cell that moved
17 <p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</ b> 7 <p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</ b>
18 There should be only a green square below the line, and no red. 8 There should be only a green square below the line, and no red.
19 </p> 9 </p>
20 10
21 <p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b> 11 <p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b>
22 There will be a red square and a green rectangle. 12 There will be a red square and a green rectangle.
23 </p> 13 </p>
24 <hr> 14 <hr>
25 <table cellspacing="0" cellpadding="0"> 15 <table cellspacing="0" cellpadding="0">
26 <tr> 16 <tr>
27 <td></td> 17 <td></td>
28 <td style="height: 0;" id="t"></td> 18 <td style="height: 60px;" id="t"></td>
29 </tr> 19 </tr>
30 <tr> 20 <tr>
31 <td style="width: 60px;"> 21 <td style="width: 60px;">
32 <div style="background: green; height: 60px;"></div> 22 <div style="background: green; height: 60px;"></div>
33 </td> 23 </td>
34 <td style="height: 180px;"></td> 24 <td style="height: 180px;"></td>
35 </tr> 25 </tr>
36 <tr> 26 <tr>
37 <td style="background: red;"></td> 27 <td style="background: red;"></td>
38 <td style="height: 60px;" id="s"></td> 28 <td style="height: 0;" id="s"></td>
39 </tr> 29 </tr>
40 </table> 30 </table>
41 31
42 </body> 32 </body>
43 </html> 33 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698