summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-blending/blend-difference-stacking.html
blob: 3c1e55de3ecd113342b2c2899156ce2e7519c41c (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
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<style>
.a {
  background-color: rgb(0,255,0);
}
#b {
  width: 200px;
  height: 210px;
}
.c {
  width: 100px;
  height: 100px;
  mix-blend-mode: difference;
}
#d {
  z-index: 1;
  position: absolute;
  top:80px;
}
</style>
<div id="b" class="a">
  <div id="d">.
    <div class="a c"></div>
  </div>
</div>
</html>