hidden-until-found-004.html (680B)
1 <!doctype HTML> 2 <html> 3 <meta charset="utf8"> 4 <title>hidden=until-found does not paint</title> 5 <link rel="author" title="Vladimir Levin" href="mailto:vmpstr@chromium.org"> 6 <link rel="help" href="https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden-until-found"> 7 <link rel="match" href="./resources/container-ref.html"> 8 <meta name="assert" content="content-visibility subtrees are not painted"> 9 10 <style> 11 #container { 12 width: 150px; 13 height: 150px; 14 background: lightblue; 15 } 16 #child { 17 width: 50px; 18 height: 50px; 19 background: lightgreen; 20 } 21 </style> 22 23 <div id=container hidden=until-found> 24 Text. 25 <div id=child></div> 26 <span>inline child</span> 27 </div> 28 </html>