summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/accessibility/crashtests/included-descendant-dom-removal.html
blob: fd978fb45e5a844f2b61cd4c10fba219410a9682 (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
26
27
<html class="test-wait">
<head>
<script>
window.onload = function() {
  requestAnimationFrame(() => {
    requestAnimationFrame(() => {
      document.querySelector('svg').remove();
      document.documentElement.className = '';
    });
  });
};
</script>
</head>
<body>
<div role="group" class="group">
  <div style="display:none" class="ignored1">
    <div class="ignored2">
      <div class="ignored3">
        <svg>   <!-- Ignored -->
          <g id="foo"></g>  <!-- Ignored but included in tree -->
        </svg>
      </div>
    </div>
  </div>
</div>
</body>
</html>