tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

hidden-until-found-005.html (695B)


      1 <!doctype HTML>
      2 <html>
      3 <meta charset="utf8">
      4 <title>hidden=until-found and size contained</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="hidden-until-found-005-ref.html">
      8 <meta name="assert" content="hidden=until-found puts in size containment">
      9 
     10 <style>
     11 div {
     12  border: 1px solid black;
     13 }
     14 </style>
     15 
     16 Test passes if there is a empty div with border below.
     17 <div hidden=until-found>
     18  This text is not visible, and neither should be the div below.
     19  <div style="width: 100px; height: 100px; background: red"></div>
     20 </div>
     21 </html>