tor-browser

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

will-change-will-change-1.html (788B)


      1 <!DOCTYPE html>
      2 <title>CSS Test: 'will-change: will-change' is invalid</title>
      3 <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au">
      4 <link rel="help" href="https://drafts.csswg.org/css-will-change-1/#will-change">
      5 <link rel="match" href="../reference/ref-filled-green-100px-square.xht">
      6 <meta name="assert" content="'will-change: will-change' is invalid and thus will not induce a stacking context.">
      7 <style>
      8 div { position: absolute; }
      9 div div { top: 0; left: 0; width: 100px; height: 100px; }
     10 </style>
     11 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     12 <div>
     13  <div style="will-change: will-change;">
     14    <div style="background-color: green; z-index: 2;"></div>
     15  </div>
     16  <div style="background-color: red; z-index: 1;"></div>
     17 </div>