summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-tables/crashtests/col_span_dynamic_crash.html
blob: 67630066fad440e64f901512622cbaabdc4af370 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!doctype html>
<style>
  col {
    border:2px solid green;
  }
</style>
<table style="border-collapse:collapse">
  <colgroup>
    <col span=3 id="target">
  </colgroup>
  <tbody>
    <tr>
      <td>a</td>
      <td>b</td>
    </tr>
  </tbody>
</table>
<script>
  document.body.offsetTop;
  document.querySelector("#target").setAttribute("span", 0);
</script>