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