tor-browser

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

border-style-shorthand.html (1300B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Backgrounds and Borders Module Level 3: border-style sets longhands</title>
      6 <link rel="help" href="https://drafts.csswg.org/css-backgrounds/#border-style">
      7 <meta name="assert" content="border-style supports the full grammar '<line-style>{1,4}'.">
      8 <script src="/resources/testharness.js"></script>
      9 <script src="/resources/testharnessreport.js"></script>
     10 <script src="/css/support/shorthand-testcommon.js"></script>
     11 </head>
     12 <body>
     13 <script>
     14 test_shorthand_value('border-style', 'none', {
     15  'border-top-style': 'none',
     16  'border-right-style': 'none',
     17  'border-bottom-style': 'none',
     18  'border-left-style': 'none'
     19 });
     20 
     21 test_shorthand_value('border-style', 'inset outset', {
     22  'border-top-style': 'inset',
     23  'border-right-style': 'outset',
     24  'border-bottom-style': 'inset',
     25  'border-left-style': 'outset'
     26 });
     27 
     28 test_shorthand_value('border-style', 'hidden dotted dashed', {
     29  'border-top-style': 'hidden',
     30  'border-right-style': 'dotted',
     31  'border-bottom-style': 'dashed',
     32  'border-left-style': 'dotted'
     33 });
     34 
     35 test_shorthand_value('border-style', 'solid double groove ridge', {
     36  'border-top-style': 'solid',
     37  'border-right-style': 'double',
     38  'border-bottom-style': 'groove',
     39  'border-left-style': 'ridge'
     40 });
     41 </script>
     42 </body>
     43 </html>