tor-browser

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

font-width-invalid.html (974B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Fonts Module Level 4: parsing font-width with invalid values</title>
      6 <link rel="help" href="https://www.w3.org/TR/css-fonts-4/#font-width-prop">
      7 <meta name="assert" content="font-width supports only the grammar 'normal | <percentage [0,∞]> | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded'.">
      8 <meta name="assert" content="Values less than 0% are invalid.">
      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 for (const property of ['font-width','font-stretch']) {
     16    test_invalid_value(property, 'auto');
     17    test_invalid_value(property, 'normal, ultra-condensed');
     18    test_invalid_value(property, 'condensed expanded');
     19    test_invalid_value(property, '-50%');
     20 }
     21 </script>
     22 </body>
     23 </html>