border-spacing-095.html (880B)
1 <!DOCTYPE html> 2 <title>CSS Test: Border-spacing: cell spanning multiple columns</title> 3 <link rel="author" title="Oriol Brufau" href="obrufau@igalia.com"> 4 <link rel="help" href="https://www.w3.org/TR/CSS2/tables.html#propdef-border-spacing"> 5 <link rel="help" href="https://github.com/servo/servo/issues/38277"> 6 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht"> 7 <meta name="assert" content="The cell spans 3 columns and 2 gutters, each 20px wide. 8 The contents of the cell should be able to use the entire 100px, not just the 60px 9 of the columns."> 10 11 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 12 <table cellpadding="0" style="border-spacing: 20px; margin: -20px"> 13 <tr> 14 <td colspan="3" style="width: 100px; background: red"> 15 <div style="height: 100px; background: green"></div> 16 </td> 17 </tr> 18 </table>