OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
4 <script src="../../resources/check-layout.js"></script> | |
5 <style> | |
6 td { font: 15px/1 Ahem } | |
7 </style> | |
8 </head> | |
9 <body onload="checkLayout('td')"> | |
10 <h3>Test for chromium bug : <a href="https://code.google.com/p/chromium/issues/d etail?id=20865">20865</a>. Not able to set width using ColGroup when table-layou t is fixed.</h3> | |
11 <h4>When colgroup specify only some columns width in the table than remaining co lumns width set as fixed width if colspan cell present in the first row for thos e columns. By default these columns should set as auto width.</h4> | |
12 <table style="table-layout: fixed; width: 100%;" border=1px> | |
13 <tbody> | |
14 <tr> | |
15 <td colspan="4">First</td> | |
16 </tr> | |
17 <colgroup> | |
18 <col width="35px"> | |
19 <col width="65px"> | |
20 <col width="100px"> | |
Julien - ping for review
2013/10/23 17:04:52
These should be indented to match the rest of the
| |
21 </colgroup> | |
22 <tr > | |
23 <td data-expected-width="35">Col-1</td> | |
24 <td data-expected-width="65">Col-2</td> | |
25 <td data-expected-width="100">Col-3</td> | |
26 <td>Col-4</td> | |
27 </tr> | |
28 </table> | |
29 </html> | |
OLD | NEW |