tor-browser

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

inheritance.html (1832B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>Inheritance of CSS Scroll Snap properties</title>
      6 <link rel="help" href="https://drafts.csswg.org/css-scroll-snap-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('scroll-margin-block-end', '0px', '10px');
     19 assert_not_inherited('scroll-margin-block-start', '0px', '10px');
     20 assert_not_inherited('scroll-margin-bottom', '0px', '10px');
     21 assert_not_inherited('scroll-margin-inline-end', '0px', '10px');
     22 assert_not_inherited('scroll-margin-inline-start', '0px', '10px');
     23 assert_not_inherited('scroll-margin-left', '0px', '10px');
     24 assert_not_inherited('scroll-margin-right', '0px', '10px');
     25 assert_not_inherited('scroll-margin-top', '0px', '10px');
     26 assert_not_inherited('scroll-padding-block-end', 'auto', '10px');
     27 assert_not_inherited('scroll-padding-block-start', 'auto', '10px');
     28 assert_not_inherited('scroll-padding-bottom', 'auto', '10px');
     29 assert_not_inherited('scroll-padding-inline-end', 'auto', '10px');
     30 assert_not_inherited('scroll-padding-inline-start', 'auto', '10px');
     31 assert_not_inherited('scroll-padding-left', 'auto', '10px');
     32 assert_not_inherited('scroll-padding-right', 'auto', '10px');
     33 assert_not_inherited('scroll-padding-top', 'auto', '10px');
     34 assert_not_inherited('scroll-snap-align', 'none', 'start end');
     35 assert_not_inherited('scroll-snap-stop', 'normal', 'always');
     36 assert_not_inherited('scroll-snap-type', 'none', 'inline');
     37 </script>
     38 </body>
     39 </html>