content-visibility-auto-nested.html (849B)
1 <!doctype HTML> 2 <html class="reftest-wait"> 3 <meta charset="utf8"> 4 <title>Content Visibility: content in nested `content-visibility: auto` elements is considered relevant</title> 5 <link rel="author" title="Martin Robinson" href="mailto:mrobinson@igalia.com"> 6 <link rel="help" href="https://drafts.csswg.org/css-contain/#content-visibility"> 7 <link rel="match" href="content-visibility-auto-nested-ref.html"> 8 <meta name="assert" content="content in nested `content-visibility: auto` elements is considered relevant"> 9 10 <script src="/common/reftest-wait.js"></script> 11 12 <style> 13 div { 14 content-visibility: auto; 15 } 16 </style> 17 18 <script> 19 function runTest() { 20 requestAnimationFrame(takeScreenshot); 21 } 22 window.onload = () => { requestAnimationFrame(runTest); }; 23 </script> 24 25 <div style="border:solid"> 26 <div>content with content-visibility: auto</div> 27 </div>