summaryrefslogtreecommitdiff
path: root/tests/html5_forms.ur
diff options
context:
space:
mode:
Diffstat (limited to 'tests/html5_forms.ur')
-rw-r--r--tests/html5_forms.ur12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/html5_forms.ur b/tests/html5_forms.ur
new file mode 100644
index 00000000..2fa5c5c2
--- /dev/null
+++ b/tests/html5_forms.ur
@@ -0,0 +1,12 @@
+fun handler r = return <xml><body>
+</body></xml>
+
+fun main () =
+ return <xml><body>
+ <form>
+ <textbox{#A} required placeholder="bobby"/>
+ <textbox{#B} placeholder="soggy" autofocus/>
+
+ <submit action={handler}/>
+ </form>
+ </body></xml>