tor-browser

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

height-valid.html (1085B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS basic box model: parsing height with valid values</title>
      6 <link rel="author" title="Eric Willigers" href="mailto:ericwilligers@chromium.org">
      7 <link rel="help" href="https://drafts.csswg.org/css-box-3/#propdef-height">
      8 <meta name="assert" content="height supports the full grammar '[<length> | <percentage>] | available | min-content | max-content | fit-content | complex | auto'.">
      9 <script src="/resources/testharness.js"></script>
     10 <script src="/resources/testharnessreport.js"></script>
     11 <script src="/css/support/parsing-testcommon.js"></script>
     12 </head>
     13 <body>
     14 <script>
     15 test_valid_value("height", "auto");
     16 
     17 test_valid_value("height", "10px");
     18 test_valid_value("height", "20%");
     19 test_valid_value("height", "calc(2em + 3ex)");
     20 
     21 test_valid_value("height", "min-content");
     22 test_valid_value("height", "max-content");
     23 test_valid_value("height", "fit-content");
     24 
     25 // The following are not yet supported by browsers:
     26 // test_valid_value("height", "available");
     27 // test_valid_value("height", "complex");
     28 </script>
     29 </body>
     30 </html>