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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/table/resize-table-repaint-percent-size-cell-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, 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
3 <script>
4 function repaintTest() {
5 document.getElementById('table').style.height = '80%';
6 }
7 onload = runRepaintTest;
8 </script>
9 <style> 2 <style>
10 body { 3 body {
11 margin: 0; 4 margin: 0;
12 } 5 }
13 table { 6 table {
14 position: absolute; 7 position: absolute;
15 height: 100px; 8 height: 80%;
16 } 9 }
17 tr { 10 tr {
18 height: 50%; 11 height: 50%;
19 background-color: green; 12 background-color: green;
20 } 13 }
21 td { 14 td {
22 width: 100px; 15 width: 100px;
23 } 16 }
24 </style> 17 </style>
25 <div style="height: 50px"> 18 <div style="height: 50px">
26 Tests repaint of percent-sized table cells when table changes size. 19 Tests repaint of percent-sized table cells when table changes size.
27 The result repaint rects should cover the percent-sized table cells. 20 The result repaint rects should cover the percent-sized table cells.
28 </div> 21 </div>
29 <table id="table"> 22 <table id="table">
30 <tr> 23 <tr>
31 <td>ROW1</td> 24 <td>ROW1</td>
32 </tr> 25 </tr>
33 <tr> 26 <tr>
34 <td>ROW2</td> 27 <td>ROW2</td>
35 </tr> 28 </tr>
36 </table> 29 </table>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698