summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/accessibility/crashtests/aria-hidden-with-select.html
blob: 2aedbcfb82d4f94925a89294d11d1e4c2a6564a6 (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
<html class="test-wait">
<head>
<script>
window.onload = function() {
  requestAnimationFrame(() => {
    requestAnimationFrame(() => {
      document.querySelector('#will-hide').ariaHidden = 'true';
      document.documentElement.className = '';
    });
  });
};
</script>
</head>
<body>
<main>
  <div id="will-hide">
    <div class="ignored">
      <select id="select">
        <option>1</option>
      </select>
    </div>
  </div>
</main>
</body>
</html>