tor-browser

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

inheritance.sub.html (1792B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>Inheritance of CSS Masking properties</title>
      6 <link rel="help" href="https://drafts.fxtf.org/css-masking-1/#property-index">
      7 <meta name="assert" content="Properties inherit or not according to the spec.">
      8 <meta name="assert" content="Properties have initial values according to the spec.">
      9 <script src="/resources/testharness.js"></script>
     10 <script src="/resources/testharnessreport.js"></script>
     11 <script src="/css/support/inheritance-testcommon.js"></script>
     12 </head>
     13 <body>
     14 <div id="container">
     15 <div id="target"></div>
     16 </div>
     17 <script>
     18 assert_not_inherited('clip', 'auto', 'rect(10px, 20px, 30px, 40px)');
     19 assert_not_inherited('clip-path', 'none', 'url("http://{{host}}/")');
     20 assert_inherited('clip-rule', 'nonzero', 'evenodd');
     21 assert_not_inherited('mask-border-mode', 'alpha', 'luminance');
     22 assert_not_inherited('mask-border-outset', '0', '10px 20px 30px 40px');
     23 assert_not_inherited('mask-border-repeat', 'stretch', 'round space');
     24 assert_not_inherited('mask-border-slice', '0', '1 2 3 4 fill');
     25 assert_not_inherited('mask-border-source', 'none', 'url("http://{{host}}/")');
     26 assert_not_inherited('mask-border-width', 'auto', '10px 20px 30px 40px');
     27 assert_not_inherited('mask-clip', 'border-box', 'no-clip');
     28 assert_not_inherited('mask-composite', 'add', 'exclude');
     29 assert_not_inherited('mask-image', 'none', 'url("http://{{host}}/")');
     30 assert_not_inherited('mask-mode', 'match-source', 'luminance');
     31 assert_not_inherited('mask-origin', 'border-box', 'padding-box');
     32 assert_not_inherited('mask-position', '0% 0%', '10px 20px');
     33 assert_not_inherited('mask-repeat', 'repeat', 'space round');
     34 assert_not_inherited('mask-size', 'auto', '10px 20px');
     35 assert_not_inherited('mask-type', 'luminance', 'alpha');
     36 </script>
     37 </body>
     38 </html>