summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/compositing/mix-blend-mode/mix-blend-mode-plus-lighter-svg-basic.html
blob: c7c3ae9b97747081a0f7880bea6b4b312b19bc01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<title>mix-blend-mode: plus-lighter SVG test</title>
<link rel="author" title="Vladimir Levin" href="mailto:vmpstr@chromium.org">
<link rel="help" href="https://drafts.fxtf.org/compositing-2/#mix-blend-mode">
<link rel="match" href="reference/mix-blend-mode-plus-lighter-svg-basic-ref.html">

<style>
.isolate { isolation: isolate; }
rect {
  opacity: 0.6;
  mix-blend-mode: plus-lighter;
}
</style>

<svg width=500 height=500>
  <g class="isolate">
    <rect x="10" y="10" width="100" height="100" fill="#000064"></rect>
    <rect x="30" y="65" width="100" height="100" fill="#000064"></rect>
    <rect x="50" y="120" width="100" height="100" fill="#006400"></rect>
  </g>
</svg>