tor-browser

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

mix-blend-mode-sibling-with-3D-transform-ref.html (1897B)


      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="Ion Roșca" href="mailto:rosca@adobe.com">
      8        <link rel="reviewer" title="Mihai Țică" href="mailto:mitica@adobe.com">
      9        <style type="text/css">
     10            .parent {
     11                background: aqua;/*rgb(0,255,255);*/
     12                width: 140px;
     13                height: 140px;
     14                padding-top: 1px;
     15                position: relative;
     16                z-index: 1;
     17            }
     18            .blended {
     19                background: fuchsia;/*rgb(255,0,255);*/
     20                margin-top: -200px;
     21                margin-left: 20px;
     22                width: 200px;
     23                height: 200px;
     24            }
     25            .siblingOfBlended {
     26                background: blue;/*rgb(0,0,255);*/
     27                margin-top: 20px;
     28                margin-left: 20px;
     29                width: 200px;
     30                height: 200px;
     31                transform: perspective(600px) translateZ(-200px);
     32            }
     33            .intersectionOfBlended {
     34                background: yellow;/*rgb(255,255,0);*/
     35                margin-top: -200px;
     36                margin-left: 20px;
     37                width: 120px;
     38                height: 120px;
     39            }
     40        </style>
     41    </head>
     42    <body>
     43        <p>You should see three overlapping squares, from back to front, having the following colors: aqua, fuchsia and blue. <br>
     44        The intersection area between aqua and fuchsia squares, which is not overlapped by the blue square, should be yellow.</p>
     45        <div class="parent">
     46            <div class="siblingOfBlended"></div>
     47            <div class="blended"></div>
     48            <div class="intersectionOfBlended"></div>
     49        </div>
     50    </body>
     51 </html>