tor-browser

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

content-visibility-097-ref.html (671B)


      1 <!doctype HTML>
      2 <html class="reftest-wait">
      3 <meta charset="utf8">
      4 <title>Content Visibility: auto, scroll away and back (Reference)</title>
      5 <link rel="author" title="Rob Buis" href="mailto:rbuis@igalia.com">
      6 <link rel="help" href="https://drafts.csswg.org/css-contain/#content-visibility">
      7 <script src="/common/reftest-wait.js"></script>
      8 
      9 <style>
     10 .spacer {
     11  height: 10000px;
     12 }
     13 #child {
     14  width: 100px;
     15  height: 100px;
     16  background: green;
     17  position: relative
     18 }
     19 #target {
     20  width: 10px;
     21  height: 10px;
     22 }
     23 
     24 </style>
     25 
     26 <div>
     27  <div id=child></div>
     28 </div>
     29 <div class=spacer></div>
     30 <div id=target></div>
     31 
     32 <script>
     33  requestAnimationFrame(takeScreenshot);
     34 </script>
     35 
     36 </html>