Status: PASS | Duration: 7ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-contain/content-visibility/content-visibility-auto-nested.html
<!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>
/css/css-contain/content-visibility/content-visibility-auto-nested-ref.html
<!doctype HTML> <html> <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"> <div style="border:solid"> <div>content with content-visibility: auto</div> </div>