summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/961887-2.html
blob: 6d499740aa2c012b3145c5c14954a6451f306d64 (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
32
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<title>Make sure that we don't pull background colors into container layers that have effects applied on them</title>

<style>

#outer {
  background-color: white;
  border: 1px solid black;
}

#outer > div {
  margin: 20px;
  border: 1px solid white;
  height: 20px;
}

#inner1 {
  mix-blend-mode: difference;
}

#inner2 {
  filter: invert(100%);
}

</style>

<div id="outer">
  <div id="inner1"></div>
  <div id="inner2"></div>
</div>