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

Side by Side Diff: LayoutTests/fast/table/table-colgroup-width-not-set-with-fixed-layout.html

Issue 27690002: Not able to set width using ColGroup when table-layout is fixed. 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../resources/check-layout.js"></script>
5 <style>
6 td { font: 15px/1 Ahem }
7 </style>
8 </head>
9 <body onload="checkLayout('td')">
10 <h3>Test for chromium bug : <a href="https://code.google.com/p/chromium/issues/d etail?id=20865">20865</a>. Not able to set width using ColGroup when table-layou t is fixed.</h3>
11 <h4>When colgroup specify only some columns width in the table than remaining co lumns width set as fixed width if colspan cell present in the first row for thos e columns. By default these columns should set as auto width.</h4>
12 <table style="table-layout: fixed; width: 100%;" border=1px>
13 <tbody>
14 <tr>
15 <td colspan="4">First</td>
16 </tr>
17 <colgroup>
18 <col width="35px">
19 <col width="65px">
20 <col width="100px">
Julien - ping for review 2013/10/23 17:04:52 These should be indented to match the rest of the
21 </colgroup>
22 <tr >
23 <td data-expected-width="35">Col-1</td>
24 <td data-expected-width="65">Col-2</td>
25 <td data-expected-width="100">Col-3</td>
26 <td>Col-4</td>
27 </tr>
28 </table>
29 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698