tor-browser

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

text-indent-invalid.html (897B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Text Module Test: parsing text-indent with invalid values</title>
      6 <link rel="help" href="https://www.w3.org/TR/css-text-3/#propdef-text-indent">
      7 <meta name="assert" content="text-indent supports only the grammar '[ <length-percentage> ] && hanging? && each-line?'.">
      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-indent", "auto");
     15 test_invalid_value("text-indent", "hanging");
     16 test_invalid_value("text-indent", "each-line");
     17 test_invalid_value("text-indent", "10");
     18 
     19 test_invalid_value("text-indent", "10px hanging 20px");
     20 test_invalid_value("text-indent", "hanging 20% hanging");
     21 test_invalid_value("text-indent", "each-line each-line");
     22 </script>
     23 </body>
     24 </html>