OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../resources/check-layout.js"></script> | 4 <script src="../../resources/check-layout.js"></script> |
5 <style> | 5 <style> |
6 td { font: 15px/1 Ahem } | 6 td { font: 15px/1 Ahem } |
7 </style> | 7 </style> |
8 </head> | 8 </head> |
9 <body onload="checkLayout('td')"> | 9 <body onload="checkLayout('td')"> |
10 <h3>Test for chromium bug : <a href="https://code.google.com/p/chromium/issues/d
etail?id=305169">305169</a>. <colgroup> is ignored if seen after <tr>
;.</h3> | 10 <h3>Test for chromium bug : <a href="https://code.google.com/p/chromium/issues/d
etail?id=305169">305169</a>. <colgroup> is ignored if seen after <tr>
;.</h3> |
11 <h4>Columns width are not based on width specified in colGroup becuase colGroup
is present after table row and we was supporting it only when colGroup is presen
t at the start in table.</h4> | 11 <h4>Columns width are not based on width specified in colGroup because colGroup
is present after table row and we was supporting it only when colGroup is presen
t at the start in table.</h4> |
12 <table style="width: 100%;" border=1px> | 12 <table style="width: 100%;" border=1px> |
13 <tbody> | 13 <tbody> |
14 <tr> | 14 <tr> |
15 <td colspan="4">First</td> | 15 <td colspan="4">First</td> |
16 </tr> | 16 </tr> |
17 <colgroup> | 17 <colgroup> |
18 <col width="35px"> | 18 <col width="35px"> |
19 <col width="65px"> | 19 <col width="65px"> |
20 <col width="100px"> | 20 <col width="100px"> |
21 </colgroup> | 21 </colgroup> |
22 <tr > | 22 <tr > |
23 <td data-expected-width="64">Col-1</td> | 23 <td data-expected-width="64">Col-1</td> |
24 <td data-expected-width="65">Col-2</td> | 24 <td data-expected-width="65">Col-2</td> |
25 <td data-expected-width="100">Col-3</td> | 25 <td data-expected-width="100">Col-3</td> |
26 <td>Col-4</td> | 26 <td>Col-4</td> |
27 </tr> | 27 </tr> |
28 </table> | 28 </table> |
29 </html> | 29 </html> |
OLD | NEW |