diff options
Diffstat (limited to 'testing/web-platform/tests/svg/struct/reftests/use-switch.svg')
-rw-r--r-- | testing/web-platform/tests/svg/struct/reftests/use-switch.svg | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/web-platform/tests/svg/struct/reftests/use-switch.svg b/testing/web-platform/tests/svg/struct/reftests/use-switch.svg new file mode 100644 index 0000000000..6c01c30198 --- /dev/null +++ b/testing/web-platform/tests/svg/struct/reftests/use-switch.svg @@ -0,0 +1,12 @@ +<svg xmlns="http://www.w3.org/2000/svg" xmlns:h="http://www.w3.org/1999/xhtml"> + <title>Testing that 'use' can target 'switch' elements</title> + <h:link rel="match" href="reference/green-100x100.svg"/> + <defs> + <switch id="s"> + <rect width="100" height="100" fill="green"/> + </switch> + </defs> + <rect x="10" y="10" width="80" height="80" fill="red"/> + + <use href="#s"/> +</svg> |