OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
4 <title>Table ColGroup</title> | |
Julien - ping for review
2013/10/08 18:46:57
Title are not really useful in LayoutTests (it is
a.suchit
2013/10/11 09:01:26
Done.
| |
5 <script src="../../resources/check-layout.js"></script> | |
6 <style> | |
7 td { font: 15px/1 Ahem } | |
8 </style> | |
9 </head> | |
10 <body onload="checkLayout('td')"> | |
11 <h3>Test for chromium bug : <a href="https://code.google.com/p/chromium/issues/d etail?id=305169">305169</a>. Not able to set width using ColGroup in the table.< /h3> | |
Julien - ping for review
2013/10/08 18:46:57
The bug title should be: "<colgroup> is ignored if
a.suchit
2013/10/11 09:01:26
Done.
| |
12 <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> | |
13 <table style="width: 100%;" border=1px> | |
14 <tbody> | |
15 <tr> | |
16 <td colspan="4">First</td> | |
17 </tr> | |
18 <colgroup> | |
19 <col width="35px"> | |
20 <col width="65px"> | |
21 <col width="100px"> | |
22 </colgroup> | |
23 <tr > | |
24 <td data-expected-width="64">Col-1</td> | |
25 <td data-expected-width="65">Col-2</td> | |
26 <td data-expected-width="100">Col-3</td> | |
27 <td>Col-4</td> | |
28 </tr> | |
29 </table> | |
30 </html> | |
OLD | NEW |