blob: dc113c76e854cf2d2a72029afe8828dab92d6b44 (
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
|
<!DOCTYPE html>
<html class="test-wait">
<!-- Ensure that a <select> in an area that becomes display:none after
being parsed as a <details> does not cause instability in the AX tree -->
<body>
<main>
<details>
<summary>Summary</summary>
<input type="checkbox"/>
<select>
<option value="abc">abc</option>
</select>
</details>
</main>
</body>
<script>
document.addEventListener('DOMContentLoaded', () => {
requestAnimationFrame(() => {
requestAnimationFrame(() => {
document.documentElement.className = '';
});
});
});
</script>
</html>
|