content-visibility-022-ref.html (610B)
1 <!doctype HTML> 2 <html> 3 <meta charset="utf8"> 4 <title>Content Visibility: hidden svg (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 .mysvg { 14 display: inline-block; 15 width: 400px; 16 height: 300px; 17 background: lightblue; 18 border: 1px solid black; 19 } 20 </style> 21 22 <div>Test passes if there is a plain light blue box below with no circles in it.</div> 23 <div class="mysvg"></div> 24 <div>Lorem ipsum consectetur adipiscing elit</div>