tor-browser

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

content-visibility-027.html (932B)


      1 <!doctype HTML>
      2 <html class="reftest-wait">
      3 <meta charset="utf8">
      4 <title>Content Visibility: auto in the viewport.</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 <link rel="match" href="content-visibility-027-ref.html">
      8 <meta name="assert" content="content-visibility auto element in the viewport paints">
      9 <meta name="assert" content="content-visibility auto element in the viewport does not have size containment">
     10 
     11 <script src="/common/reftest-wait.js"></script>
     12 
     13 <style>
     14 div {
     15  content-visibility: auto;
     16  border: 1px solid black;
     17 }
     18 </style>
     19 
     20 <div class=locked>
     21  Test passes if there is a border around this text.
     22 </div>
     23 
     24 <script>
     25 
     26 window.onload = requestAnimationFrame(() => {
     27  requestAnimationFrame(() => {
     28    requestAnimationFrame(() => {
     29      takeScreenshot();
     30    });
     31  });
     32 });
     33 
     34 </script>
     35 </html>