visibility-collapse-rowspan-005.html (1048B)
1 <!doctype html> 2 <meta charset="utf-8"> 3 <title>CSS Test: Overflow clipping in cells that span rows</title> 4 <link rel='stylesheet' href='support/base.css' /> 5 <link rel="author" title="Joy Yu" href="mailto:joysyu@mit.edu"> 6 <link rel="help" href="https://drafts.csswg.org/css-tables-3/#visibility-collapse-cell-rendering"> 7 <link rel="match" href="visibility-collapse-rowspan-005-ref.html"> 8 <style> 9 table { 10 border-spacing: 0; 11 border-collapse: collapse; 12 } 13 table td { 14 border: 1px solid blue; 15 padding: 5px; 16 } 17 </style> 18 <h1>Visibility collapse</h1> 19 <a href="https://drafts.csswg.org/css-tables-3/#visibility-collapse-cell-rendering">Spec</a> 20 <table> 21 <tr> 22 <td>Row 1 Left</td> 23 <td>Row 1 Center</td> 24 <td rowspan=2 style="width:100px"><p>Supersuperlongword</p><p>row with lots and lots of text</p></td> 25 </tr> 26 <tr style="visibility: collapse"> 27 <td>Row 2 Left</td> 28 <td>Row 2 Center</td> 29 </tr> 30 <tr> 31 <td>Row 3 Left</td> 32 <td>Row 3 Center</td> 33 <td>Row 3 Right</td> 34 </tr> 35 </table>