servo/tests/wpt/css-tests/compositing-1_dev/html/mix-blend-mode-svg-rectangle.htm

22 lines
No EOL
1 KiB
HTML

<!DOCTYPE html>
<html><head>
<meta charset="utf-8">
<title>CSS Test: mix-blend-mode for a simple SVG element - rectangle</title>
<link href="mailto:mbudaes@adobe.com" rel="author" title="Mirela Budăeș">
<link href="mailto:mibalan@adobe.com" rel="reviewer" title="Mihai Balan">
<link href="mailto:cabanier@adobe.com" rel="reviewer" title="Rik Cabanier">
<link href="https://drafts.fxtf.org/compositing-1/#csscompositingrules_SVG" rel="help">
<link href="https://drafts.fxtf.org/compositing-1/#mix-blend-mode" rel="help">
<meta content="svg" name="flags">
<link href="reference/mix-blend-mode-svg-rectangle-ref.htm" rel="match">
</head>
<body>
<p>There should be no red rectangle on the screen. <br>
Test passes if you see a black rectangle.</p>
<svg width="400px" version="1.1" xmlns:xmlns="http://www.w3.org/2000/svg" height="400px">
<rect y="0" width="100" fill="aqua" x="0" height="100"></rect>
<rect width="100" style="mix-blend-mode: multiply" y="0" x="0" fill="red" height="100"></rect>
</svg>
</body></html>