Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-contain/content-visibility/content-visibility-auto-nested.html - WPT Dashboard Interop Dashboard
<!doctype HTML>
<html class="reftest-wait">
<meta charset="utf8">
<title>Content Visibility: content in nested `content-visibility: auto` elements is considered relevant</title>
<link rel="author" title="Martin Robinson" href="mailto:mrobinson@igalia.com">
<link rel="match" href="content-visibility-auto-nested-ref.html">
<meta name="assert" content="content in nested `content-visibility: auto` elements is considered relevant">
<script src="/common/reftest-wait.js"></script>
<style>
div {
content-visibility: auto;
}
</style>
<script>
function runTest() {
requestAnimationFrame(takeScreenshot);
}
window.onload = () => { requestAnimationFrame(runTest); };
</script>
<div style="border:solid">
<div>content with content-visibility: auto</div>
</div>