tor-browser

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

mix-blend-mode-both-parent-and-blended-with-3D-transform.html (1733B)


      1 <!DOCTYPE html>
      2 <html>
      3    <head>
      4        <meta charset="utf-8">
      5        <title>CSS Test: mix-blend-mode between an element and its child (both with 3D transform) </title>
      6        <link rel="author" title="Mirela Budăeș" href="mailto:mbudaes@adobe.com">
      7        <link rel="author" title="Ion Roșca" href="mailto:rosca@adobe.com">
      8        <link rel="reviewer" title="Mihai Țică" href="mailto:mitica@adobe.com">
      9        <link rel="help" href="https://drafts.fxtf.org/compositing-1/#mix-blend-mode">
     10        <meta name="assert" content="Test checks that the element with mix-blend-mode blends with the parent element (both with 3D transform)">
     11        <meta name="fuzzy" content="0-180;0-1000">
     12        <link rel="match" href="reference/mix-blend-mode-both-parent-and-blended-with-3D-transform-ref.html">
     13        <style type="text/css">
     14            .parent {
     15                background: aqua;/*rgb(0,255,255);*/
     16                width: 140px;
     17                height: 140px;
     18                padding-top: 1px;
     19                transform:rotateX(20deg);
     20            }
     21            .blended {
     22                background: fuchsia;/*rgb(255,0,255);*/
     23                margin-top: 20px;
     24                margin-left: 20px;
     25                width: 200px;
     26                height: 200px;
     27                transform:rotateX(20deg);
     28                mix-blend-mode: difference;
     29            }
     30            p {
     31                will-change: transform;
     32            }
     33        </style>
     34    </head>
     35    <body>
     36        <p>You should see a fuchsia square overlapping an aqua square. <br>
     37            The overlapping area should be yellow. </p>
     38        <div class="parent">
     39            <div class="blended">
     40            </div>
     41        </div>
     42    </body>
     43 </html>