tor-browser

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

border-clip-valid.html (938B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Borders and Box Decorations 4 Test: Parsing 'border-clip' with valid values</title>
      4 <link rel="author" title="Sebastian Zartner" href="mailto:sebastianzartner@gmail.com">
      5 <link rel="help" href="https://drafts.csswg.org/css-borders-4/#border-clip">
      6 <meta name="assert"
      7  content="This test checks that 'border-clip' supports the 'normal' keyword, &lt;length-percentage&gt; and &lt;flex&gt; values.">
      8 <script src="/resources/testharness.js"></script>
      9 <script src="/resources/testharnessreport.js"></script>
     10 <script src="/css/support/parsing-testcommon.js"></script>
     11 
     12 <script>
     13 test_valid_value("border-clip", "normal");
     14 test_valid_value("border-clip", "10px");
     15 test_valid_value("border-clip", "10%");
     16 test_valid_value("border-clip", "0");
     17 test_valid_value("border-clip", "1fr");
     18 test_valid_value("border-clip", "10px 10%");
     19 test_valid_value("border-clip", "10px 1em 10% 1fr 2fr");
     20 </script>