summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/css3/compositing/mix-blend-mode-multiply-expected.html
blob: 593511d9ed604c374f6603ccc5e16e156fff2a6a (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
31
<!DOCTYPE HTML>
<html>
<head>
<style>
  .parent {
    background-color: white;
    width: 60px;
    height: 60px;
    float: left;
    margin-left: 10px;
  }
  .child {
    width: 60px;
    height: 60px;
    background-color: green;
  }
</style>
<body>
  <p>Test that mix-blend-mode multiply has no effect when applied over a white background, for both software and hardware paths.</p>
  <p>This test passes if there are one black and two green boxes.</p>
  <div class="parent">
    <div class="child" style="background-color: black;"></div>
  </div>
  <div class="parent">
    <div class="child" style="-webkit-transform: rotateX(0deg);"></div>
  </div>
  <div class="parent">
    <div class="child"></div>
  </div>
</body>
</html>