tor-browser

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

clip-008.html (826B)


      1 <!DOCTYPE html>
      2 <title>border-radius should not clip contents if overflow is clipped in only one direction</title>
      3 <link rel="author" title="Psychpsyo" href="mailto:psychpsyo@gmail.com" />
      4 <link rel="help" href="https://www.w3.org/TR/css-overflow-3/#corner-clipping">
      5 <link rel="match" href="../reference/ref-filled-green-100px-square.xht">
      6 <style>
      7  #testHolder {
      8    width: 100px;
      9    height: 100px;
     10    background-color: red;
     11  }
     12  #clipped {
     13    width: 100px;
     14    height: 100px;
     15    overflow-x: clip;
     16    background-color: wheat;
     17    border-radius: 50%;
     18  }
     19  #contents {
     20    width: 100px;
     21    height: 100px;
     22    background-color: green;
     23  }
     24 </style>
     25 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     26 <div id="testHolder">
     27  <div id="clipped">
     28    <div id="contents"></div>
     29  </div>
     30 </div>