collapsed-border-paint-phase-001.html (696B)
1 <!DOCTYPE html> 2 <link rel="help" href="https://www.w3.org/TR/CSS2/zindex.html"> 3 <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> 4 <meta name="assert" content="A tables collapsed borders paint in the background paint phase."> 5 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 6 <table style="border-collapse: collapse; border-spacing: 0;"> 7 <td style="border-right: 50px solid red; padding: 0;"> 8 <div style="width: 50px; line-height: 0;"> 9 <!-- Paints in the foreground phase above the collapsed borders. --> 10 <div style="display: inline-block; width: 100px; height: 100px; background: green;"></div> 11 </div> 12 </td> 13 </table>