summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-contain/content-visibility/slot-content-visibility-18-crash.html
blob: 0860c37e49dc3003c2a9ecf018c4a3d4e141154a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<link rel=author href="mailto:jarhar@chromium.org">
<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=1267276">

<table>foo</table>
<details open=true>
  <dialog open=true>
    <table>
      <tr></tr>
    </table>
  </dialog>
</details>

<script>
  const dialog = document.querySelector('dialog');
  dialog.close();
  dialog.showModal();
  const cell = document.querySelector('tr').insertCell();
  document.querySelector('details').appendChild(cell);
  document.body.attachShadow({mode: 'closed'});
</script>