Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <style> | |
|
mstensho (USE GERRIT)
2015/01/12 09:05:50
Still need <!DOCTYPE html> here and in all other t
| |
| 2 col { height: 200px; } | |
| 3 td { background-color: #66f; height: 25px; } | |
| 4 </style> | |
| 5 <script type="text/javascript"> | |
| 6 onload = function () { | |
| 7 var col = document.getElementById('thecol'); | |
| 8 col.offsetTop; | |
| 9 col.style.height="100px"; | |
| 10 checkLayout("td", document.getElementById("test-output")); | |
| 11 } | |
| 12 </script> | |
| 13 <script src="../../resources/check-layout.js"></script> | |
| 14 Tests that the height of table cell changes on changing the colgroup height to n ew height. | |
| 15 <table style="-webkit-writing-mode: vertical-lr"> | |
| 16 <colgroup> | |
| 17 <col id="thecol"> | |
| 18 </colgroup> | |
| 19 <tbody> | |
| 20 <tr> | |
| 21 <td data-expected-height="100">Hello World</td> | |
| 22 </tr> | |
| 23 </tbody> | |
| 24 </table> | |
| 25 <div id="test-output"></div> | |
| OLD | NEW |