tor-browser

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

container-with-child-ref.html (546B)


      1 <!doctype HTML>
      2 <html>
      3 <meta charset="utf8">
      4 <title>CSS Content Visibility: container with child and text (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 #container {
     10  width: 150px;
     11  height: 150px;
     12  background: lightblue;
     13 }
     14 #child {
     15  width: 50px;
     16  height: 50px;
     17  background: green;
     18 }
     19 </style>
     20 
     21 <div id=container>
     22  Test passes if you can see this text and a green box.
     23  <div id=child></div>
     24 </div>