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
content / test / data / accessibility / css / content-visibility-auto-crash.html [blame]
<!--
@WAIT-FOR:Done
-->
<html>
<head>
<style>
.auto {
content-visibility: auto;
}
.child {
height: 5000px;
}
</style>
</head>
<body>
<div class="child"></div>
<div class="auto"><div class="child"><div id="target" hidden="">target</div>xxx
<script>
function runTest() {
window.location.href += "#target";
document.title = 'Done';
}
window.onload = () => requestAnimationFrame(() => requestAnimationFrame(runTest));
</script>
</div>
</div>
</body>
</html>