tor-browser

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

inheritance.html (1310B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>Inheritance of CSS Inline Layout properties</title>
      6 <link rel="author" title="Eric Willigers" href="mailto:ericwilligers@chromium.org">
      7 <link rel="help" href="https://drafts.csswg.org/css-inline-3/#property-index">
      8 <meta name="assert" content="Properties inherit or not according to the spec.">
      9 <meta name="assert" content="Properties have initial values according to the spec.">
     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('alignment-baseline', 'baseline', 'central');
     20 assert_not_inherited('baseline-shift', '0px', '10px');
     21 assert_inherited('dominant-baseline', 'auto', 'central');
     22 assert_not_inherited('initial-letters', 'normal', '2 3');
     23 assert_inherited('initial-letters-align', 'alphabetic', 'hanging');
     24 assert_inherited('initial-letters-wrap', 'none', 'grid');
     25 assert_not_inherited('initial-sizing', 'normal', 'stretch');
     26 // https://www.w3.org/TR/CSS2/visudet.html#propdef-line-height
     27 assert_inherited('line-height', 'normal', '20px');
     28 assert_not_inherited('vertical-align', 'baseline', '10px');
     29 </script>
     30 </body>
     31 </html>