Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <style> | |
| 3 td { font: 15px/1 Ahem } | |
|
mstensho (USE GERRIT)
2016/01/12 10:06:41
Better come up with a test that passes on all plat
a.suchit2
2016/01/12 14:37:02
changed and trying.
| |
| 4 </style> | |
| 5 <script src="../../resources/check-layout.js"></script> | |
| 6 <body> | |
| 7 <h3>Test for chromium bug : <a href="https://code.google.com/p/chromium/issu es/detail?id=445253">445253</a>. Setting rowspan=2 on the table cell causes the whole table to resize again and again.</h3> | |
| 8 <table border="1" data-expected-height="45"> | |
| 9 <tr> | |
| 10 <td/> | |
| 11 <td rowspan="2" id="ta"><textarea style='height:100%;'>Text area tex t</textarea></td> | |
|
mstensho (USE GERRIT)
2016/01/12 10:06:41
Also, textarea sets font on its own, so your Ahem
a.suchit2
2016/01/12 14:37:02
Done.
| |
| 12 </tr> | |
| 13 <tr> | |
| 14 <td/> | |
| 15 <td></td> | |
| 16 </tr> | |
| 17 </table> | |
| 18 </body> | |
| 19 | |
| 20 <script> | |
| 21 document.body.offsetTop; | |
| 22 document.getElementById("ta").rowSpan="2"; | |
| 23 checkLayout('table'); | |
| 24 </script> | |
| OLD | NEW |