tor-browser

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

will-change-fixedpos-cb-001.html (888B)


      1 <!doctype html>
      2 <meta charset="utf-8">
      3 <title>CSS Test: will-change: filter should generate a containing block for fixed positioned elements.</title>
      4 <link rel="author" title="Philip Rogers" href="mailto:pdr@chromium.org">
      5 <link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=960953">
      6 <link rel="help" href="https://drafts.csswg.org/css-will-change/#will-change">
      7 <link rel="help" href="https://drafts.fxtf.org/filter-effects/#FilterProperty">
      8 <link rel="match" href="will-change-fixedpos-cb-001-ref.html">
      9 <style>
     10  .container {
     11    border: 1px solid green;
     12    background: red;
     13    width: 100px;
     14    height: 100px;
     15    margin-top: 100px;
     16    will-change: filter;
     17  }
     18  .fixedpos {
     19    position: fixed;
     20    top: 0;
     21    left: 0;
     22    background: green;
     23    height: 100px;
     24    width: 100px;
     25  }
     26 </style>
     27 <div class="container">
     28  <div class="fixedpos"></div>
     29 </div>