tor-browser

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

mix-blend-mode-blended-element-interposed.html (1334B)


      1 <!DOCTYPE html>
      2 <html>
      3    <head>
      4        <meta charset="utf-8">
      5        <title>CSS Reftest Reference</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 having a child blends with the parent element.">
     11        <meta name="fuzzy" content="0-1;0-10">
     12        <link rel="match" href="reference/green-square.html">
     13        <style type="text/css">
     14            div {
     15                width: 100px;
     16                height: 100px;
     17            }
     18            .parent {
     19                background: #FF0;
     20            }
     21            .blender {
     22                background: #345;
     23                mix-blend-mode: difference;
     24            }
     25            .child {
     26                background: #F00;
     27            }
     28        </style>
     29    </head>
     30    <body>
     31        <p>Test passes if you can see a green square on the screen.</p>
     32        <div class="parent">
     33            <div class="blender">
     34                <div class="child"></div>
     35            </div>
     36        </div>
     37    </body>
     38 </html>