tor-browser

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

line-height-valid.html (872B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Inline Layout: parsing line-height with valid values</title>
      6 <link rel="help" href="https://drafts.csswg.org/css-inline-3/#line-height-property">
      7 <meta name="assert" content="line-height supports the full grammar 'normal | <number> | <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_valid_value("line-height", "normal");
     15 
     16 test_valid_value("line-height", "0");
     17 test_valid_value("line-height", "2");
     18 test_valid_value("line-height", "0px");
     19 test_valid_value("line-height", "10px");
     20 test_valid_value("line-height", "0%");
     21 test_valid_value("line-height", "200%");
     22 test_valid_value("line-height", "calc(200% + 10px)");
     23 </script>
     24 </body>
     25 </html>