content-visibility-023-ref.html (586B)
1 <!doctype HTML> 2 <html> 3 <meta charset="utf8"> 4 <title>Content Visibility: hidden iframe (reference)</title> 5 <link rel="author" title="Vladimir Levin" href="mailto:vmpstr@chromium.org"> 6 <link rel="help" href="https://drafts.csswg.org/css-contain/#content-visibility"> 7 8 <style> 9 div { 10 background: blue; 11 color: white; 12 } 13 </style> 14 15 <div>Test passes if the word “PASS” and a green box can been seen below.</div> 16 <iframe width=400 height=200 srcdoc=' 17 <style> 18 div { 19 background: green; 20 } 21 </style> 22 <div>PASS</div> 23 '></iframe> 24 <div>Lorem ipsum consectetur adipiscing elit</div>