tor-browser

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

calc-in-max.html (724B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4  <meta charset="utf-8">
      5  <title>CSS Values and Units Test: calc() in max()</title>
      6 
      7  <meta name="assert" content="The calc() function notation is allowed inside a max() notation.">
      8  <link rel="author" title="Fuqiao Xue" href="mailto:xfq@w3.org">
      9  <link rel="help" href="https://drafts.csswg.org/css-values-4/#calc-syntax">
     10  <link rel="match" href="reference/all-green.html">
     11 
     12  <style>
     13      html, body { margin: 0px; padding: 0px; }
     14 
     15      html { background: red; overflow: hidden; }
     16      #outer { position: absolute; top: 0px; left: 0px; background: green; width: 100%; }
     17 
     18      #outer { height: max(calc(100%)); }
     19  </style>
     20 
     21 </head>
     22 <body>
     23 
     24  <div id="outer"></div>
     25 
     26 </body>
     27 </html>