blob: 13e1eaff6dd097c06d6275ebc9fe6646850454bf (
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
28
29
30
31
32
33
|
<!DOCTYPE html>
<html class="test-wait">
<!-- Test that setting the role an an aria-owns element does not crash. -->
<script>
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(() => {
requestAnimationFrame(() => {
document.getElementById('owner').role = 'tab';
requestAnimationFrame(() => {
requestAnimationFrame(() => {
document.documentElement.className = '';
});
});
});
});
});
</script>
</head>
<body>
<main>
<fieldset id='owner' aria-owns="paragraph1">
<div>
<p id="paragraph1">
<mark>
Child
</mark>
</p>
</div>
</fieldset>
</main>
</body>
</html>
|