summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/accessibility/crashtests/aria-owns-reparent.html
blob: 2eaceb66f6957b0240a4f02b0c23b74e8ca4921a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<html class="test-wait">
<script>
document.addEventListener("DOMContentLoaded", () => {
  requestAnimationFrame(() => {
    requestAnimationFrame(() => {
      document.getElementById('owner').setAttribute('aria-owns','x');
      document.body.setAttribute('aria-hidden', 'true');
      document.documentElement.className = '';
    });
  });
});
</script>
</head>
<body>
<p id='owner'></p>

<div>
  <fieldset id='x'></fieldset>
</div>
</body>
</html>