summaryrefslogtreecommitdiffstats
path: root/tests/arthur/data/1.2/media05.svg
diff options
context:
space:
mode:
Diffstat (limited to 'tests/arthur/data/1.2/media05.svg')
-rw-r--r--tests/arthur/data/1.2/media05.svg27
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/arthur/data/1.2/media05.svg b/tests/arthur/data/1.2/media05.svg
new file mode 100644
index 0000000..e890b02
--- /dev/null
+++ b/tests/arthur/data/1.2/media05.svg
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<svg version="1.2" baseProfile="tiny" xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ width="100%" height="100%" viewBox="0 0 400 300">
+ <desc>Example of switching on the http://www.w3.org/TR/SVG12/feature#ComposedVideo feature string</desc>
+ <rect x="2" y="2" width="396" height="296" fill="none" stroke="black"
+ stroke-width="2" />
+ <rect x="106" y="66" width="184" height="140" fill="none" stroke="blue"
+ stroke-width="4" />
+
+ <switch>
+
+ <!-- Composited video group -->
+ <g transform="translate(100 0)" requiredFeatures="http://www.w3.org/TR/SVG12/feature#ComposedVideo">
+ <video xlink:href="ski.avi" audio-level=".8" type="video/x-msvideo"
+ x="10" y="70" width="176" height="132"/>
+ <text x="20" y="100" fill-opacity="0.5" fill="blue" font-size="20">Composited title.</text>
+ </g>
+
+ <!-- Overlayed video group -->
+ <g transform="translate(100 0)" font-size="18">
+ <video xlink:href="ski.avi" audio-level=".8" type="video/x-msvideo"
+ x="10" y="70" overlay="top" width="176" height="132"/>
+ <text x="15" y="60" fill="blue" fill-opacity="0.5" >Non-composited title.</text>
+ </g>
+ </switch>
+</svg>