Index: LayoutTests/fast/table/table-colgroup-width-not-set-with-fixed-layout.html |
diff --git a/LayoutTests/fast/table/table-colgroup-width-not-set-with-fixed-layout.html b/LayoutTests/fast/table/table-colgroup-width-not-set-with-fixed-layout.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c15a1b1c0af883cc6c825d4db05d4761ba48db56 |
--- /dev/null |
+++ b/LayoutTests/fast/table/table-colgroup-width-not-set-with-fixed-layout.html |
@@ -0,0 +1,29 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+ <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=20865">20865</a>. Not able to set width using ColGroup when table-layout is fixed.</h3> |
+<h4>When colgroup specify only some columns width in the table than remaining columns width set as fixed width if colspan cell present in the first row for those columns. By default these columns should set as auto width.</h4> |
+ <table style="table-layout: fixed; width: 100%;" border=1px> |
+ <tbody> |
+ <tr> |
+ <td colspan="4">First</td> |
+ </tr> |
+ <colgroup> |
+ <col width="35px"> |
+ <col width="65px"> |
+ <col width="100px"> |
Julien - ping for review
2013/10/23 17:04:52
These should be indented to match the rest of the
|
+ </colgroup> |
+ <tr > |
+ <td data-expected-width="35">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> |