tor-browser

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

border-valid.html (932B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Backgrounds and Borders Module Level 3: parsing border with valid values</title>
      6 <link rel="help" href="https://drafts.csswg.org/css-backgrounds/#border-shorthands">
      7 <meta name="assert" content="border supports the full grammar '<line-width> || <line-style> || <color>'.">
      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_valid_value("border", "1px dotted red");
     15 test_valid_value("border", "green double thin", "thin double green");
     16 
     17 test_valid_value("border-top", "thin", ["thin", "thin none"]);
     18 test_valid_value("border-right", "double", ["double", "medium double"]);
     19 test_valid_value("border-bottom", "green", ["green", "medium none green"]);
     20 test_valid_value("border-left", "1px dotted red");
     21 </script>
     22 </body>
     23 </html>