summaryrefslogtreecommitdiff
path: root/tests/textarea_placeholder.ur
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@mit.edu>2017-01-07 08:38:35 -0500
committerGravatar Benjamin Barenblat <bbaren@mit.edu>2017-01-07 08:38:35 -0500
commit6145d9df05f442e29dfa96a0b8e15ffcc2d683dd (patch)
tree447639a278556e40c0f7a5784ba4b645f80c1187 /tests/textarea_placeholder.ur
parent235602373c04aa38b7f8c93e6efbd9276ecc2266 (diff)
parent4bbdbbc72d96567f8c5a1d435beef32d447dec30 (diff)
Merge branch 'upstream' into dfsg_clean20170105+dfsg
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>