content-visibility-003-ref.html (528B)
1 <!doctype HTML> 2 <html> 3 <meta charset="utf8"> 4 <title>CSS Content Visibility: hidden container is not breakable (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 #parent { 10 width: 100px; 11 } 12 #container { 13 border-top: solid green 50px; 14 border-bottom: solid green 50px; 15 } 16 </style> 17 18 <p>Test passes if there is a solid green square below. 19 20 <div id="parent"> 21 <div id="container"></div> 22 </div>