summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-blending/mix-blend-mode-transformed.html
blob: 01d9e0bfa566e80219eaeaba86bcc42673c87a03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!DOCTYPE HTML>
<head>
  <style> 
    .outer {
       transform: scale(0.5) translate(200px, 200px);
    }
    .parent {
       width: 200px;
       height: 200px;
       isolation: isolate;
       background: #5856a2;
    }
    .child {
      width: 200px;
      height: 200px;
      mix-blend-mode: soft-light;
      opacity: 0.5;
      background: white;
      will-change: opacity;
    }
  </style>
</head>
<body>
 <div class="outer">
  <div class="parent">
   <div class="child">
   </div>
  </div>
 </div>
</body>