tor-browser

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

border-block-width-invalid.html (1018B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Logical Properties and Values: parsing border-block-width with invalid values</title>
      6 <link rel="help" href="https://drafts.csswg.org/css-logical/#propdef-border-block-width">
      7 <meta name="assert" content="border-block-width supports only the grammar '<line-width>{1,2}'.">
      8 <meta name="assert" content="Negative lengths 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("border-block-start-width", "-20px");
     16 test_invalid_value("border-block-start-width", "auto");
     17 test_invalid_value("border-block-start-width", "medium 40px");
     18 test_invalid_value("border-block-end-width", "10");
     19 test_invalid_value("border-block-end-width", "30%");
     20 
     21 test_invalid_value("border-block-width", "thick, thin");
     22 test_invalid_value("border-block-width", "10px 20px 30px");
     23 </script>
     24 </body>
     25 </html>