tor-browser

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

will-change-stacking-context-offset-path-1.html (909B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS will-change: 'will-change: offset-path' creates a stacking context</title>
      4 <link rel="author" title="Mozilla" href="http://www.mozilla.org/">
      5 <link rel="help" href="https://drafts.csswg.org/css-will-change-1/#will-change">
      6 <link rel="help" href="https://drafts.fxtf.org/motion-1/#offset-path-property">
      7 <link rel="match" href="green-square-100-by-100-ref.html">
      8 <meta name="assert" content="If any non-initial value of a property would create a stacking context on the element, specifying that property in will-change must create a stacking context on the element.">
      9 <style>
     10 html, body { margin: 0; padding: 0; }
     11 div { width: 100px; height: 100px }
     12 #wc { will-change: offset-path; background: red }
     13 #child { position: absolute; top: 0; left: 0; z-index: -1; background: green }
     14 </style>
     15 <body>
     16  <div id="wc">
     17    <div id="child">
     18    </div>
     19  </div>
     20 </body>