Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / table / resize-table-repaint-vertical-align-cell.html
blobc27a5d2494ec8476c51a8e70a9c7365d20550975
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%';
7 onload = runRepaintTest;
8 </script>
9 <style>
10 body {
11 margin: 0;
13 table {
14 position: absolute;
15 height: 100px;
17 td {
18 vertical-align: middle;
19 width: 100px;
21 </style>
22 <div style="height: 50px">
23 Tests repaint of middle-vertical-aligned table cells when table changes size.
24 The result repaint rects should cover the middle-vertical-aligned table cells.
25 </div>
26 <table id="table">
27 <tr>
28 <td>MIDDLE</td>
29 </tr>
30 </table>