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

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: Review comments addressed 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..279ddb3cc1e52205a494854ec8b46a8b1d25a57e
--- /dev/null
+++ b/LayoutTests/fast/table/table-colgroup-present-after-table-row.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=305169">305169</a>. &lt;colgroup&gt; is ignored if seen after &lt;tr&gt;.</h3>
+<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