summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2014-11-16 14:16:11 -0500
committerGravatar Adam Chlipala <adam@chlipala.net>2014-11-16 14:16:11 -0500
commit5f984d18d62f3290103540552a82b13c69e364df (patch)
treeff04982802ab530c999710e8cfa1ca9ecf6c1177 /tests
parent17a277b007b8e545760837b1871d36df0e9deaea (diff)
More simple textual HTML5 input types
Diffstat (limited to 'tests')
-rw-r--r--tests/html5_forms.ur8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/html5_forms.ur b/tests/html5_forms.ur
index 435e4ada..a9bf7f77 100644
--- a/tests/html5_forms.ur
+++ b/tests/html5_forms.ur
@@ -2,6 +2,10 @@ fun handler r = return <xml><body>
A: {[r.A]}<br/>
B: {[r.B]}<br/>
C: {[r.C]}<br/>
+ D: {[r.D]}<br/>
+ E: {[r.E]}<br/>
+ F: {[r.F]}<br/>
+ G: {[r.G]}<br/>
</body></xml>
fun main () =
@@ -10,6 +14,10 @@ fun main () =
<textbox{#A} required placeholder="bobby"/>
<textbox{#B} placeholder="soggy" autofocus/>
<checkbox{#C}/>
+ <email{#D}/>
+ <url{#E}/>
+ <tel{#F}/>
+ <search{#G}/>
<submit action={handler}/>
</form>