OLD | NEW |
(Empty) | |
| 1 <html> |
| 2 <head> |
| 3 <style> |
| 4 table { border-collapse: collapse; } |
| 5 td { border: 1px solid #000000; } |
| 6 </style> |
| 7 <script src="../../resources/check-layout.js"></script> |
| 8 </head> |
| 9 <body onload="checkLayout('tr')"> |
| 10 <h3>Test for chromium bug : <a href="https://code.google.com/p/chromium/issu
es/detail?id=396655">396655</a>. Tables with specific merge cell configuration r
ender with extra height to tr elements.</h4> |
| 11 <p>The middle tr, which has been merged over by two cells, should have a hei
ght of 1px, the difference in heights between cells that span one row and two ro
ws.</p> |
| 12 <table style="width: 624px;"> |
| 13 <tbody> |
| 14 <tr data-expected-height="32"> |
| 15 <td rowspan="2" style="height: 33px;"></td> |
| 16 <td style="height: 32px;"></td> |
| 17 </tr> |
| 18 <tr data-expected-height="1"> |
| 19 <td rowspan="2" style="height: 33px;"></td> |
| 20 </tr> |
| 21 <tr data-expected-height="32"> |
| 22 <td style="height: 32px;"></td> |
| 23 </tr> |
| 24 </tbody> |
| 25 </table> |
| 26 </body> |
| 27 </html> |
OLD | NEW |