Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 runRepaintTest(); | |
| 8 </script> | |
| 9 <style> | |
| 10 body { | |
| 11 margin: 0; | |
| 12 } | |
| 13 table { | |
| 14 position: absolute; | |
| 15 height: 100px; | |
| 16 } | |
| 17 td { | |
| 18 vertical-align: middle; | |
| 19 width: 100px; | |
| 20 } | |
| 21 </style> | |
| 22 <!-- Tests repaint of middle-vertical-aligned table cells when table changes siz e. | |
| 23 The result repaint rects should cover the middle-vertical-aligned table cel ls. --> | |
|
Julien - ping for review
2014/07/28 17:23:19
Let's dump this into the output.
Xianzhu
2014/07/28 20:55:27
Done.
| |
| 24 <table id="table"> | |
| 25 <tr> | |
| 26 <td>MIDDLE</td> | |
| 27 </tr> | |
| 28 </table> | |
| OLD | NEW |