tor-browser

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

contain-paint-025.html (638B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Containment Test: Paint containment stacking context</title>
      4 <link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
      5 <link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-paint">
      6 <link rel="match" href="../reference/nothing.html">
      7 <meta name=assert content="Elements in which paint containment doesn't apply, do not create a stacking context.">
      8 <style>
      9 div {
     10  display: inline;
     11  contain: paint;
     12  background: white;
     13 }
     14 span {
     15  position: relative;
     16  z-index: -1;
     17 }
     18 </style>
     19 
     20 <p>There should be nothing below.</p>
     21 <div><span>FAIL</span></div>