summaryrefslogtreecommitdiff
path: root/test/SVG/script.xml
diff options
context:
space:
mode:
Diffstat (limited to 'test/SVG/script.xml')
-rwxr-xr-xtest/SVG/script.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/SVG/script.xml b/test/SVG/script.xml
new file mode 100755
index 0000000..600365e
--- /dev/null
+++ b/test/SVG/script.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN"
+ "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
+<svg width="4in" height="3in">
+ <defs>
+ <script><![CDATA[
+ /* Beep on mouseclick */
+ MouseClickHandler() { beep(); }
+ ]]>
+ </script>
+ </defs>
+ <circle onclick="MouseClickHandler()" r="85"/>
+</svg>