tor-browser

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

mix-blend-mode-parent-with-3D-transform.html (1518B)


      1 <!DOCTYPE html>
      2 <html>
      3    <head>
      4        <meta charset="utf-8">
      5        <title>CSS Test: mix-blend-mode between an element with 3D transform and its child</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 an element with mix-blend-mode blends with its parent having 3D transform">
     11        <link rel="match" href="reference/mix-blend-mode-parent-with-3D-transform-ref.html">
     12        <style type="text/css">
     13            .parent {
     14                background: aqua;/*rgb(0,255,255);*/
     15                width: 140px;
     16                height: 140px;
     17                padding-top: 1px;
     18                transform:rotateX(20deg);
     19            }
     20            .blended {
     21                background: fuchsia;/*rgb(255,0,255);*/
     22                margin-top: 20px;
     23                margin-left: 20px;
     24                width: 200px;
     25                height: 200px;
     26                mix-blend-mode: difference;
     27            }
     28        </style>
     29    </head>
     30    <body>
     31        <p>You should see a fuchsia square overlapping an aqua square. <br>
     32            The overlapping area should be yellow. </p>
     33        <div class="parent">
     34            <div class="blended"></div>
     35        </div>
     36    </body>
     37 </html>