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

content / test / data / accessibility / css / content-visibility-auto-aria-hidden.html [blame]

<!--
@WAIT-FOR:Done
-->
<html>
<head>
<style>
.auto {
  content-visibility: auto;
}
.push-content-down {
  height: 5000px;
}
</style>
</head>
<body>
<div class="push-content-down" role="none"></div>
<div class="auto"><div aria-hidden="true">aria-hidden</div><div>Unsemantic</div><h1>Semantic</h1></div>
<script>
function runTest() {
  document.title = 'Done';
}
window.onload = () => requestAnimationFrame(() => requestAnimationFrame(runTest));
</script>
</body>
</html>