tor-browser

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

content-visibility-079.html (723B)


      1 <!doctype HTML>
      2 <meta charset="utf8">
      3 <title>CSS Content Visibility: auto in overflow hidden paints</title>
      4 <link rel="author" title="Vladimir Levin" href="mailto:vmpstr@chromium.org">
      5 <link rel="help" href="https://drafts.csswg.org/css-contain/#content-visibility">
      6 <link rel="match" href="content-visibility-079-ref.html">
      7 <meta name="assert" content="content-visibility auto element paints in an overflow hidden element that is not sized">
      8 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
      9 <style>
     10 .auto {
     11 content-visibility: auto;
     12 font: 25px/1 Ahem;
     13 }
     14 .overflow { overflow: hidden; }
     15 </style>
     16 
     17 <p>Test passes if you see a black rectangle below.
     18 <div class=overflow>
     19  <div class=auto>PASS</div>
     20 </div>