tor-browser

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

scrollable-overflow-with-nested-elements-005.html (1369B)


      1 <!DOCTYPE html>
      2 <html data-expected-scroll-height="1018" data-expected-height="8">
      3 
      4 <head>
      5    <meta charset="utf-8">
      6    <title>CSS Overflow: Scrollable Overflow Transform Rotate Nested Element</title>
      7    <link rel="author" title="Shubham Gupta" href="mailto:shubham13297@gmail.com">
      8    <link rel="help" href="https://drafts.csswg.org/css-overflow-3/#scrollable" />
      9    <meta name="assert" content="Checks the scrollable overflow with overflow property and some nested element">
     10    <script src="/resources/testharness.js"></script>
     11    <script src="/resources/testharnessreport.js"></script>
     12    <script src="/resources/check-layout-th.js"></script>
     13    <style>
     14        body {
     15            overflow-x: hidden;
     16        }
     17 
     18        .list .item {
     19            width: 10px;
     20            height: 10px;
     21            background: lime;
     22            position: absolute;
     23            margin: 0%;
     24        }
     25 
     26        .list {
     27            position: relative;
     28            background: grey;
     29        }
     30    </style>
     31 </head>
     32 
     33 <body onload="checkLayout('html')" data-expected-scroll-height="1010" data-expected-height="0" data-expected-client-height="0">
     34    <div class="list" data-expected-scroll-height="1010" data-expected-height="0" data-expected-client-height="0">
     35        <p class="item" style="top:0px;"></p>
     36        <p class="item" style="top:1000px;"></p>
     37    </div>
     38 </body>
     39 </html>