summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-tables/collapsed-border-remove-cell.html
blob: 2a84a6392196413f3d12ca49f0210946374afde7 (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
27
<!DOCTYPE html>
<html class="reftest-wait">
<title>Collapsed borders track changes caused by removal of cells</title>
<link rel="help" href="https://drafts.csswg.org/css-tables/#border-collapsing">
<link rel="match" href="collapsed-border-remove-cell-ref.html">
<script src="/common/reftest-wait.js"></script>
<script src="/common/rendering-utils.js"></script>
<style>
  table {
    border-collapse: collapse;
  }
  td {
    width: 100px;
    height: 100px;
    border: 1px solid black;
  }
</style>
<table>
  <tr><td></td><td></td></tr>
  <tr><td></td><td id="target"></tr>
</table>
<script>
  waitForAtLeastOneFrame().then(() => {
    target.remove();
    takeScreenshot();
  });
</script>