summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-tables/border-collapse-empty-cell.html
blob: 18894a35a9c793755380d3a2ff1b34d88603af78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!doctype HTML>
<title>Collapsed borders of empty cells are painted</title>
<link rel="author" href="atotic@chromium.org">
<link rel="match" href="border-collapse-empty-cell-ref.html">
<link rel="help" href="https://stackoverflow.com/questions/18758373/why-do-the-css-property-border-collapse-and-empty-cells-conflict">
<style>
  table {
    border-collapse: collapse;
    empty-cells: hide;
  }
  td {
    width:50px;
    height:50px;
    border: 10px solid gray;
  }
</style>
<table>
  <tr>
    <td></td>
    <td></td>
  </tr>
  <tr>
    <td></td>
    <td></td>
  </tr>
</table>