tor-browser

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

overflow-body-propagation-013.html (682B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Test: HTML with display:none and BODY with overflow:scroll</title>
      4 <link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com">
      5 <link rel="help" href="https://drafts.csswg.org/css-overflow-3/#overflow-propagation">
      6 <link rel="help" href="https://github.com/w3c/csswg-drafts/issues/12649">
      7 <meta name="assert" content="The <body> doesn't propagate overflow to the
      8  viewport when the root element doesn't generate a box. Therefore, there
      9  shouldn't be scrollbars.">
     10 <link rel="match" href="about:blank">
     11 <style>
     12 :root {
     13  display: none;
     14  scrollbar-color: red red;
     15 }
     16 body {
     17  overflow: scroll;
     18 }
     19 </style>
     20 <body></body>