visibility-collapse-colspan-003.html (1175B)
1 <!doctype html> 2 <meta charset="utf-8"> 3 <title>CSS Test: Overflow clipping in cells that span columns</title> 4 <link rel="author" title="Joy Yu" href="mailto:joysyu@mit.edu"> 5 <link rel="help" href="https://drafts.csswg.org/css-tables-3/#visibility-collapse-cell-rendering"> 6 <link rel="help" href="https://drafts.csswg.org/css-tables-3/#computing-the-table-width"> 7 <link rel="match" href="visibility-collapse-colspan-003-ref.html"> 8 <style> 9 .firstCol { 10 width: 65px; 11 } 12 .thirdCol { 13 width: 160px; 14 } 15 </style> 16 <table> 17 <col style="background-color:red;"> 18 <col style="background-color: blue; visibility:collapse;"> 19 <col style="background-color: green;"> 20 <tr> 21 <td class="firstCol">Row 1</td> 22 <td>Row 1 wordword</td> 23 <td class="thirdCol">Row 1 wordwordword</td> 24 </tr> 25 <tr> 26 <td class="firstCol">Row 2</td> 27 <td>Row 2 wordwordword</td> 28 <td class="thirdCol">Row 2 wordword</td> 29 </tr> 30 <tr> 31 <td class="firstCol">Row 3</td> 32 <td>Row 3 word</td> 33 <td class="thirdCol">Row 3 wordwordwordword</td> 34 </tr> 35 <tr> 36 <td colspan="3">superlongwordsuperlongwordsuper shouldbeclipped</td> 37 </tr> 38 </table>