tor-browser

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

overflow-body-propagation-010.html (804B)


      1 <!doctype html>
      2 <html><head>
      3 <meta charset="utf-8">
      4 <title>CSS Test: contain:paint on BODY with overflow:clip</title>
      5 <link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1635473">
      6 <link rel="help" href="https://drafts.csswg.org/css-overflow/#overflow-propagation">
      7 <link rel="match" href="overflow-body-propagation-010-ref.html">
      8 <style>
      9  body {
     10    overflow: clip;
     11    contain: paint;
     12    width: 30px;
     13    height: 30px;
     14    padding: 10px;
     15    margin-left: 100px;
     16    margin-top: 100px;
     17  }
     18 
     19  div {
     20    position: relative;
     21    top: -20px;
     22    left: -40px;
     23    background: blue;
     24    height: 10000px;
     25    width: 10000px;
     26    border-right-width: 20px;
     27    border-right-style: solid;
     28    border-right-color: red;
     29  }
     30 </style></head>
     31 <body><div></div></body>
     32 </html>