summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-color/composited-filters-under-opacity.html
blob: f613748af3ac5bb59c9fa207937ae6207d71062e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<link rel="help" href="http://www.w3.org/TR/css3-color/#transparency">
<link rel="match" href="composited-filters-under-opacity-ref.html">
<style>
div {
  position: absolute;
  will-change: opacity;
}
.content {
  width: 100px;
  height: 150px;
  position: absolute;
  background: yellow;
  filter: invert(100%);
}
</style>
Below should be a light blue square in uniform color.
<div style="opacity: 0.5">
  <div class="content" style="left: 0"></div>
  <div class="content" style="left: 50px"></div>
</div>