tor-browser

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

border-shape-invalid.html (1178B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Borders and Box Decorations 4 Test: Parsing 'border-shape' with valid values</title>
      4 <link rel="help" href="https://drafts.csswg.org/css-borders-4/#border-shape">
      5 <script src="/resources/testharness.js"></script>
      6 <script src="/resources/testharnessreport.js"></script>
      7 <script src="/css/support/parsing-testcommon.js"></script>
      8 <script>
      9 test_invalid_value("border-shape", "circle() none");
     10 test_invalid_value("border-shape", "polygon(bla 10px 10px, 100px 10px, 10px 100px)");
     11 test_invalid_value("border-shape", "shape()");
     12 test_invalid_value("border-shape", "nonsense");
     13 test_invalid_value("border-shape", "1px");
     14 test_invalid_value("border-shape", "circle() padding-box margin-box");
     15 test_invalid_value("border-shape", "padding-box margin-box");
     16 test_invalid_value("border-shape", "padding-box");
     17 test_invalid_value("border-shape", "padding-box circle()");
     18 test_invalid_value("border-shape", "circle() padding-box margin-box circle()");
     19 test_invalid_value("border-shape", "circle() padding-box circle() margin-box circle()");
     20 test_invalid_value("border-shape", "circle() padding-box circle() margin-box padding-box");
     21 </script>