visibility-collapse-rowspan-005-ref.html (1019B)
1 <!doctype html> 2 <meta charset="utf-8"> 3 <title>CSS Test Reference: 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 <style> 8 table { 9 border-spacing: 0; 10 border-collapse: collapse; 11 } 12 table td { 13 border: 1px solid blue; 14 padding: 5px; 15 } 16 </style> 17 <h1>Visibility collapse</h1> 18 <a href="https://drafts.csswg.org/css-tables-3/#visibility-collapse-cell-rendering">Spec</a> 19 <table> 20 <tr> 21 <td>Row 1 Left</td> 22 <td>Row 1 Center</td> 23 <td rowspan=2 style="width:100px"><p>Supersuperlongword</p><p style="visibility: hidden;">row with lots and lots of text</p></td> 24 </tr> 25 <tr style="visibility: collapse"> 26 <td>Row 2 Left</td> 27 <td>Row 2 Center</td> 28 </tr> 29 <tr> 30 <td>Row 3 Left</td> 31 <td>Row 3 Center</td> 32 <td>Row 3 Right</td> 33 </tr> 34 </table>