tor-browser

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

inheritance.html (1281B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>Inheritance of CSS Box Model properties</title>
      6 <link rel="help" href="https://drafts.csswg.org/css-box-3/#property-index">
      7 <link rel="help" href="https://www.w3.org/TR/CSS2/">
      8 <meta name="assert" content="Properties do not inherit.">
      9 <meta name="assert" content="length-percentage properties have initial value 0.">
     10 <script src="/resources/testharness.js"></script>
     11 <script src="/resources/testharnessreport.js"></script>
     12 <script src="/css/support/inheritance-testcommon.js"></script>
     13 </head>
     14 <body>
     15 <div id="container">
     16  <div id="target"></div>
     17 </div>
     18 <script>
     19 assert_not_inherited('clear', 'none', 'right');
     20 assert_not_inherited('float', 'none', 'right');
     21 
     22 assert_not_inherited('margin-bottom', '0px', '10px');
     23 assert_not_inherited('margin-left', '0px', '10px');
     24 assert_not_inherited('margin-right', '0px', '10px');
     25 assert_not_inherited('margin-top', '0px', '10px');
     26 assert_not_inherited('margin-trim', 'none', 'block');
     27 assert_not_inherited('padding-bottom', '0px', '10px');
     28 assert_not_inherited('padding-left', '0px', '10px');
     29 assert_not_inherited('padding-right', '0px', '10px');
     30 assert_not_inherited('padding-top', '0px', '10px');
     31 
     32 assert_inherited('visibility', 'visible', 'collapse');
     33 </script>
     34 </body>
     35 </html>