border-collapse-visibility-collapse-001.tentative.html (766B)
1 <!DOCTYPE html> 2 <title>CSS Test: Table with collapsed borders and collapsed tracks</title> 3 <link rel="author" title="Oriol Brufau" href="obrufau@igalia.com"> 4 <link rel="help" href="https://www.w3.org/TR/CSS21/tables.html#collapsing-borders"> 5 <link rel="help" href="https://www.w3.org/TR/CSS21/tables.html#dynamic-effects"> 6 <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> 7 <style> 8 td { border: 50px solid green; padding: 0; } 9 </style> 10 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 11 <table style="border-collapse: collapse; background: red"> 12 <col style="visibility: collapse"></col> 13 <tr style="visibility: collapse"> 14 <td></td> 15 <td></td> 16 </tr> 17 <tr> 18 <td></td> 19 <td></td> 20 </tr> 21 </table>