summaryrefslogtreecommitdiff
path: root/tests/textarea_placeholder.ur
diff options
context:
space:
mode:
Diffstat (limited to 'tests/textarea_placeholder.ur')
-rw-r--r--tests/textarea_placeholder.ur12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/textarea_placeholder.ur b/tests/textarea_placeholder.ur
new file mode 100644
index 00000000..b328f838
--- /dev/null
+++ b/tests/textarea_placeholder.ur
@@ -0,0 +1,12 @@
+fun lame _ = return <xml/>
+
+fun main () =
+ s <- source "";
+ return <xml><body>
+ <form>
+ <textarea{#Text} placeholder="Type something here."/>
+ <submit action={lame}/>
+ </form>
+
+ <ctextarea source={s} placeholder="Absolutely don't type something here."/>
+ </body></xml>