tor-browser

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

content-visibility-078-ref.html (677B)


      1 <!doctype HTML>
      2 <html>
      3 <meta charset="utf8">
      4 <title>CSS Content Visibility: positioned movement update moves hidden 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 #target {
     10  top: 50px;
     11  left: 100px;
     12  position: absolute;
     13  width: 100px;
     14  height: 100px;
     15  background: blue;
     16 }
     17 #t2 {
     18  top: 150px;
     19  left: 100px;
     20  position: absolute;
     21  width: 100px;
     22  height: 100px;
     23  background: orange;
     24 }
     25 </style>
     26 
     27 <p>Test passes if the blue and orange boxes are vertically aligned with each other.
     28 <div id=target></div>
     29 <div id=t2></div>