summaryrefslogtreecommitdiff
path: root/tests/docevents.ur
diff options
context:
space:
mode:
Diffstat (limited to 'tests/docevents.ur')
-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>