summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-tables/collapsed-border-paint-phase-002.html
blob: 865069da0a5cc5aa5cb264be3da4c163be1e2a32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE html>
<link rel="help" href="https://www.w3.org/TR/CSS2/zindex.html">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<meta name="assert" content="A tables collapsed borders paint in the background paint phase, after children.">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<!DOCTYPE html>
<table style="border-collapse: collapse; border-spacing: 0;">
  <td style="border-right: solid 100px green; height: 100px; padding: 0;">
    <div style="width: 0;">
      <div style="width: 100px; height: 100px; background: red;"></div>
    </div>
  </td>
</table>