summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/docevents.ur6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/docevents.ur b/tests/docevents.ur
new file mode 100644
index 00000000..eed38868
--- /dev/null
+++ b/tests/docevents.ur
@@ -0,0 +1,6 @@
+fun main () : transaction page = return <xml>
+ <body onload={onDblclick (alert "Double click");
+ onKeypress (fn k => alert ("Keypress: " ^ show k))}>
+ Nothing here.
+ </body>
+</xml>