Index: LayoutTests/fast/table/table-colgroup-present-after-table-row.html |
diff --git a/LayoutTests/fast/table/table-colgroup-present-after-table-row.html b/LayoutTests/fast/table/table-colgroup-present-after-table-row.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..633d1f7bb77a2cb5544d8050c131c32693c87aed |
--- /dev/null |
+++ b/LayoutTests/fast/table/table-colgroup-present-after-table-row.html |
@@ -0,0 +1,30 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+ <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.
|
+ <script src="../../resources/check-layout.js"></script> |
+ <style> |
+ td { font: 15px/1 Ahem } |
+ </style> |
+</head> |
+<body onload="checkLayout('td')"> |
+<h3>Test for chromium bug : <a href="https://code.google.com/p/chromium/issues/detail?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.
|
+<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 present at the start in table.</h4> |
+ <table style="width: 100%;" border=1px> |
+ <tbody> |
+ <tr> |
+ <td colspan="4">First</td> |
+ </tr> |
+ <colgroup> |
+ <col width="35px"> |
+ <col width="65px"> |
+ <col width="100px"> |
+ </colgroup> |
+ <tr > |
+ <td data-expected-width="64">Col-1</td> |
+ <td data-expected-width="65">Col-2</td> |
+ <td data-expected-width="100">Col-3</td> |
+ <td>Col-4</td> |
+ </tr> |
+ </table> |
+</html> |