summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/svg/render/reftests/blending-svg-foreign-object.html
blob: a87df89de0d4b3290dd258e07c81f60497b7d1cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE html>
<title>'mix-blend-mode' for &lt;svg:foreignObject&gt;</title>
<link rel="help" href="https://www.w3.org/TR/SVG2/render.html#PaintersModel">
<link rel="match"  href="blending-svg-foreign-object-ref.html">
<div style="background: green">
  <div>Expected: a black square on green background.</div>
  <svg style="width: 200px; height: 200px">
    <foreignObject width="200" height="200" style="mix-blend-mode: multiply">
      <div style="width: 200px; height: 200px; background: red"></div>
    </foreignObject>
  </svg>
</div>