summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/svg/render/reftests/blending-001.svg
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/svg/render/reftests/blending-001.svg')
-rw-r--r--testing/web-platform/tests/svg/render/reftests/blending-001.svg47
1 files changed, 47 insertions, 0 deletions
diff --git a/testing/web-platform/tests/svg/render/reftests/blending-001.svg b/testing/web-platform/tests/svg/render/reftests/blending-001.svg
new file mode 100644
index 0000000000..f8fcf9fae4
--- /dev/null
+++ b/testing/web-platform/tests/svg/render/reftests/blending-001.svg
@@ -0,0 +1,47 @@
+<svg id="svg-root"
+ width="100%" height="100%" viewBox="0 0 480 360"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:html="http://www.w3.org/1999/xhtml">
+ <g id="testmeta">
+ <title>'mix-blend-mode'</title>
+ <html:link rel="author"
+ title="Tavmjong Bah"
+ href="http://tavmjong.free.fr"/>
+ <html:link rel="help"
+ href="https://www.w3.org/TR/SVG2/render.html#PaintersModel"/>
+ <html:link rel="match" href="blending-001-ref.svg" />
+ </g>
+
+ <style id="test-font" type="text/css">
+ rect {
+ mix-blend-mode: screen;
+ }
+
+ #edgecover > rect {
+ mix-blend-mode: normal;
+ }
+
+ g {
+ isolation: isolate;
+ }
+ </style>
+
+ <g id="test-body-content">
+
+ <g>
+ <rect x="120" y="80" width="160" height="160" fill="red"/>
+ <rect x="200" y="80" width="160" height="160" fill="lime"/>
+ <rect x="160" y="160" width="160" height="160" fill="blue"/>
+ </g>
+
+ <!-- Stroke to prevent aliasing from effecting results. -->
+ <g style="fill:none;stroke:black;stroke-width:2px" id="edgecover">
+ <rect x="120" y="80" width="160" height="160"/>
+ <rect x="200" y="80" width="160" height="160"/>
+ <rect x="160" y="160" width="160" height="160"/>
+ </g>
+
+ </g>
+
+</svg>