tor-browser

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

contain-layout-ink-overflow-019-ref.html (707B)


      1 <!DOCTYPE html>
      2 
      3  <meta charset="UTF-8">
      4 
      5  <title>CSS Reference Test</title>
      6 
      7  <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
      8 
      9  <style>
     10  div#parent
     11    {
     12      height: 100px;
     13      width: 100px;
     14      overflow: scroll;
     15    }
     16 
     17  div#child
     18    {
     19      background-color: green;
     20      height: 100px;
     21      width: 100px;
     22    }
     23  </style>
     24 
     25  <body onload="document.getElementById('parent').scrollLeft = 100; document.getElementById('parent').scrollTop = 125;">
     26 
     27  <p>Test passes if there is a filled green square <strong>with 2 scroll bars</strong> and if there is <strong>no red</strong>.
     28 
     29  <div id="parent">
     30    <div id="child"></div>
     31  </div>