summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/accessibility/crashtests/inert-br-child.html
blob: 9c9039c3abac39b10c730a75221a1752910d0ded (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<!-- Test for crash when inert br gains illegal child -->
<html>
<dialog></dialog>
<br>

<script>
requestAnimationFrame(() => {
  requestAnimationFrame(() => {
    document.querySelector('dialog').showModal();
    const br = document.querySelector('br');
    br.appendChild(document.createElement('fieldset'));
  });
});
</script>

</html>