tor-browser

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

tab-size-invalid.html (751B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Text Module Test: parsing tab-size with invalid values</title>
      6 <link rel="help" href="https://www.w3.org/TR/css-text-3/#propdef-tab-size">
      7 <meta name="assert" content="tab-size supports only the grammar '<number> | <length>'.">
      8 <meta name="assert" content="Negative tab-size values are not allowed.">
      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_invalid_value("tab-size", "-10px");
     16 test_invalid_value("tab-size", "-20");
     17 test_invalid_value("tab-size", "30%");
     18 test_invalid_value("tab-size", "calc(40% + 50px)");
     19 </script>
     20 </body>
     21 </html>