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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/table-collapsed-border.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, 7 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 <head> 1 <head>
2 <style type="text/css"> 2 <style type="text/css">
3 table { 3 table {
4 border-collapse: collapse; 4 border-collapse: collapse;
5 border: 8px solid; 5 border: 8px solid;
6 margin: 10px 0 10px 0; 6 margin: 10px 0 10px 0;
7 } 7 }
8 </style> 8 </style>
9 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip t> 9 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip t>
10 <script type="text/javascript"> 10 <script type="text/javascript">
11 function repaintTest() 11 function repaintTest()
12 { 12 {
13 document.getElementById('t').style.borderColor = 'green'; 13 document.getElementById('t').style.borderColor = 'green';
14 document.getElementById('r').removeChild(document.getElementById('d') ); 14 document.getElementById('r').removeChild(document.getElementById('d') );
15 document.getElementById('r2').removeChild(document.getElementById('d2 ')); 15 document.getElementById('r2').removeChild(document.getElementById('d2 '));
16 document.getElementById('d3').innerHTML = 'ipsum dolor'; 16 document.getElementById('d3').innerHTML = 'ipsum dolor';
17 } 17 }
18 </script> 18 </script>
19 </head> 19 </head>
20 <body onload="runRepaintTest();"> 20 <body onload="runRepaintAndPixelTest();">
21 <table id="t"> 21 <table id="t">
22 <tr> 22 <tr>
23 <td> 23 <td>
24 </td> 24 </td>
25 <td>Lorem 25 <td>Lorem
26 </td> 26 </td>
27 </tr> 27 </tr>
28 <tr> 28 <tr>
29 <td> 29 <td>
30 </td> 30 </td>
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 </td> 92 </td>
93 </tr> 93 </tr>
94 <tr> 94 <tr>
95 <td> 95 <td>
96 </td> 96 </td>
97 <td>sit amet 97 <td>sit amet
98 </td> 98 </td>
99 </tr> 99 </tr>
100 </table> 100 </table>
101 </body> 101 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698