tor-browser

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

max-height-invalid.html (795B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Intrinsic & Extrinsic Sizing Test: parsing max-height with invalid values</title>
      6 <link rel="help" href="https://drafts.csswg.org/css-sizing-3/#propdef-max-height">
      7 <meta name="assert" content="max-height supports only the grammar 'none | <length-percentage> | min-content | max-content | fit-content(<length-percentage>)'.">
      8 <script src="/resources/testharness.js"></script>
      9 <script src="/resources/testharnessreport.js"></script>
     10 <script src="/css/support/parsing-testcommon.js"></script>
     11 </head>
     12 <body>
     13 <script>
     14 test_invalid_value("max-height", "auto");
     15 test_invalid_value("max-height", "min-content max-content");
     16 
     17 test_invalid_value("max-height", "-10%");
     18 test_invalid_value("max-height", "-0.5em");
     19 </script>
     20 </body>
     21 </html>