blob: d9b9db6bb5fdb02c124d5cc72c17730b007ef85a (
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
|
<!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="help" href="https://drafts.csswg.org/css-contain/#content-visibility">
<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>
|