tor-browser

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

content-visibility-003.html (746B)


      1 <!doctype HTML>
      2 <html>
      3 <meta charset="utf8">
      4 <title>CSS Content Visibility: hidden container is not breakable</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-003-ref.html">
      8 <meta name="assert" content="content-visibility hidden container is not breakable">
      9 
     10 <style>
     11 #container {
     12  border-top: solid green 50px;
     13  border-bottom: solid green 50px;
     14  content-visibility: hidden;
     15 }
     16 #parent {
     17  columns: 2;
     18  height: 0px;
     19  width: 200px;
     20  column-gap: 0;
     21 }
     22 </style>
     23 
     24 <p>Test passes if there is a solid green square below.
     25 
     26 <div id="parent">
     27  <div id="container">Text</div>
     28 </div>
     29 </html>