Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Unified Diff: LayoutTests/fast/table/table-colgroup-present-after-table-row.html

Issue 26360003: Not able to set width using ColGroup in the table. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/table/table-colgroup-present-after-table-row-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698