tor-browser

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

border-image-outset-invalid.html (914B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Backgrounds and Borders Module Level 3: parsing border-image-outset with invalid values</title>
      6 <link rel="author" title="Eric Willigers" href="mailto:ericwilligers@chromium.org">
      7 <link rel="help" href="https://drafts.csswg.org/css-backgrounds/#border-image-outset">
      8 <meta name="assert" content="border-image-outset supports only the grammar '[ <length> | <number> ]{1,4}'.">
      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-image-outset", "auto");
     16 
     17 test_invalid_value("border-image-outset", "-1");
     18 test_invalid_value("border-image-outset", "-2px");
     19 
     20 test_invalid_value("border-image-outset", "1%");
     21 
     22 test_invalid_value("border-image-outset", "1 2 3 4 5");
     23 </script>
     24 </body>
     25 </html>