tor-browser

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

mix-blend-mode-blending-with-sibling.html (1398B)


      1 <!DOCTYPE html>
      2 <html>
      3    <head>
      4        <meta charset="utf-8">
      5        <title>CSS Test: mix-blend-mode between an element and its sibling</title>
      6        <link rel="author" title="Mirela Budăeș" href="mailto:mbudaes@adobe.com">
      7        <link rel="author" title="Mihai Tica" href="mailto:mitica@adobe.com">
      8        <link rel="reviewer" title="Mihai Balan" href="mailto:mibalan@adobe.com">
      9        <link rel="help" href="https://drafts.fxtf.org/compositing-1/#mix-blend-mode">
     10        <meta name="assert" content="Test checks that an element with mix-blend-mode blends with a sibling element">
     11        <link rel="match" href="reference/green-square.html">
     12        <style type="text/css">
     13            div {
     14                width: 100px;
     15                height: 100px;
     16            }
     17            .container {
     18                position: fixed;
     19                z-index: 0;
     20                background: #FFF;
     21            }
     22            .blender {
     23                background: #FF0;
     24                mix-blend-mode: difference;
     25            }
     26            .sibling {
     27                margin-top: -100px;
     28                background: #F00;
     29            }
     30        </style>
     31    </head>
     32    <body>
     33        <p>Test passes if you can see a green square on the screen.</p>
     34        <div class="container">
     35            <div class="blender"></div>
     36            <div class="sibling"></div>
     37        </div>
     38    </body>
     39 </html>