tor-browser

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

content-based-height-rounds-up-to-step-unit.html (684B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <link rel="author" title="Sammy Gill" href="mailto:sammy.gill@apple.com">
      5 <link rel="help" href="https://drafts.csswg.org/css-rhythm/#block-step-size">
      6 <link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
      7 <meta name="assert" content="Content based block size is rounded up to step unit.">
      8 <style>
      9 .container {
     10  display: flow-root;
     11  width: 100px;
     12  background-color: green;
     13 }
     14 .block-step {
     15  width: min-content;
     16  block-step-size: 100px;
     17  color: green;
     18 }
     19 </style>
     20 </head>
     21 <body>
     22 <p>Test passes if there is a filled green square.</p>
     23 <div class="container">
     24  <div class="block-step">
     25    x x x
     26  </div>
     27 </div>
     28 </body>
     29 </html>