tor-browser

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

mix-blend-mode-simple.html (1127B)


      1 <!DOCTYPE html>
      2 <html>
      3    <head>
      4        <title>CSS Test: An element with mix-blend-mode blends with its parent element.</title>
      5        <link rel="author" title="Mihai Tica" href="mailto:mitica@adobe.com">
      6        <link rel="reviewer" title="Mihai Balan" href="mailto:mibalan@adobe.com">
      7        <link rel="help" href="https://drafts.fxtf.org/compositing-1/#mix-blend-mode">
      8        <meta name="assert" content="Test checks that an element with mix-blend-mode blends with its parent element.">
      9        <meta name="fuzzy" content="0-1;0-10">
     10        <link rel="match" href="reference/green-square.html">
     11        <style type="text/css">
     12            div {
     13                width: 100px;
     14                height: 100px;
     15            }
     16            .parent {
     17                background: #FF0;
     18            }
     19            .child {
     20                background: #F00;
     21                mix-blend-mode: difference;
     22            }
     23        </style>
     24    </head>
     25    <body>
     26        <p>Test passes if you can see a green square on the screen.</p>
     27        <div class="parent">
     28            <div class="child"></div>
     29        </div>
     30    </body>
     31 </html>