mirror of
https://github.com/servo/servo.git
synced 2025-07-10 00:43:39 +01:00
22 lines
No EOL
1.2 KiB
HTML
22 lines
No EOL
1.2 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml"><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.xht" 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" xmlns="http://www.w3.org/2000/svg">
|
|
<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> |