tor-browser

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

text-decoration-thickness-invalid.html (991B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Text Decoration Test: parsing text-decoration-thickness with invalid values</title>
      6 <link rel="help" href="https://drafts.csswg.org/css-text-decor-4/#text-decoration-width-property">
      7 <meta name="assert" content="text-decoration-thickness supports the following values: auto | from-font | <length>">
      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("text-decoration-thickness", "otto");
     15 test_invalid_value("text-decoration-thickness", "asdlflj");
     16 test_invalid_value("text-decoration-thickness", "-10");
     17 test_invalid_value("text-decoration-thickness", "60002020");
     18 test_invalid_value("text-decoration-thickness", "!@#$%^&");
     19 test_invalid_value("text-decoration-thickness", "10e2");
     20 test_invalid_value("text-decoration-thickness", "from font");
     21 </script>
     22 </body>
     23 </html>