tor-browser

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

overflow-body-propagation-012.html (789B)


      1 <!doctype html>
      2 <html><head>
      3 <meta charset="utf-8">
      4 <title>CSS Test: BODY with overflow:hidden</title>
      5 <link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com">
      6 <link rel="help" href="https://github.com/servo/servo/issues/38799">
      7 <meta name="assert" content="The overflow value that gets propagated to
      8  the viewport is the one of the <html>, not the <body>.
      9  Therefore, the <body> is able to hide its overflowing contents.">
     10 <link rel="match" href="overflow-body-propagation-012-ref.html">
     11 <style>
     12  html {
     13    overflow: hidden;
     14    height: 500px;
     15  }
     16  body {
     17    overflow: hidden;
     18    width: 0px;
     19    height: 0px;
     20    border: solid 200px green;
     21  }
     22 
     23  div {
     24    background: red;
     25    height: 200px;
     26    width: 200px;
     27  }
     28 </style></head>
     29 <body><div></div></body>
     30 </html>