tor-browser

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

spacer-and-container-ref.html (530B)


      1 <!doctype HTML>
      2 <html>
      3 <meta charset="utf8">
      4 <title>Content Visibility: spacer and a container (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 .spacer {
     10  width: 150px;
     11  height: 3000px;
     12  background: lightblue;
     13 }
     14 #container {
     15  contain: style layout;
     16  width: 150px;
     17  height: 150px;
     18 }
     19 </style>
     20 
     21 <div class="spacer">Test passes if there is no red.</div>
     22 <div id="container"></div>
     23 </html>