OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <style> | |
3 td { font: 15px/1 Ahem } | |
4 </style> | |
5 <script src="../../resources/check-layout.js"></script> | |
6 <script> | |
7 setTimeout(function() { | |
8 funcToRunAfterUIUpdate() | |
9 }, 0); | |
10 | |
11 function funcToRunAfterUIUpdate() | |
mstensho (USE GERRIT)
2015/12/04 14:10:10
Instead of this machinery (setTimeout, funcToRunAf
a.suchit2
2016/01/08 14:12:50
I am able to move the checkLayout() after the DOM
mstensho (USE GERRIT)
2016/01/08 19:22:10
I actually think it's easier if you just upload a
a.suchit2
2016/01/11 12:57:17
I am able to do it. Fixed all review comments. tha
| |
12 { | |
13 document.getElementById("ta").rowSpan=2; | |
mstensho (USE GERRIT)
2015/12/04 14:10:10
I cannot find any element named #ta. Simply resizi
a.suchit2
2016/01/08 14:12:50
sorry for mistake. I needs to add for text area td
| |
14 } | |
15 </script> | |
16 <body onload="checkLayout('tr');"> | |
mstensho (USE GERRIT)
2015/12/04 14:10:10
Can you do checkLayout("table") instead? checkLayo
a.suchit2
2016/01/08 14:12:50
checklayout("table") can be used. Thanks
| |
17 <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> | |
18 <table border="1"> | |
19 <tr data-expected-height="20"> | |
20 <td/> | |
21 <td rowspan="2"><textarea style='height:100%;'>Text area text</texta rea></td> | |
22 </tr> | |
23 <tr data-expected-height="21"> | |
24 <td/> | |
25 <td></td> | |
26 </tr> | |
27 </table> | |
28 </body> | |
OLD | NEW |