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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/table-row.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 <html> 1 <html>
2 <head> 2 <head>
3 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=14056</title> 3 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=14056</title>
4 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip t> 4 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip t>
5 <script type="text/javascript"> 5 <script type="text/javascript">
6 function repaintTest() 6 function repaintTest()
7 { 7 {
8 var div = document.getElementById("target"); 8 var div = document.getElementById("target");
9 div.className = "green"; 9 div.className = "green";
10 } 10 }
11 </script> 11 </script>
12 <style> 12 <style>
13 tr { 13 tr {
14 background-color: red; 14 background-color: red;
15 } 15 }
16 16
17 td { 17 td {
18 width: 100px; 18 width: 100px;
19 height: 100px; 19 height: 100px;
20 } 20 }
21 21
22 .green { 22 .green {
23 background-color:green; 23 background-color:green;
24 min-height: 500px; 24 min-height: 500px;
25 } 25 }
26 </style> 26 </style>
27 </head> 27 </head>
28 <body onload="runRepaintTest()"> 28 <body onload="runRepaintAndPixelTest()">
29 <table> 29 <table>
30 <tr id="target"> 30 <tr id="target">
31 <td> 31 <td>
32 </td> 32 </td>
33 </tr> 33 </tr>
34 </table> 34 </table>
35 </body> 35 </body>
36 </html> 36 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698