summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/placeholder/placeholder-overflow-textarea-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/forms/placeholder/placeholder-overflow-textarea-ref.html')
-rw-r--r--layout/reftests/forms/placeholder/placeholder-overflow-textarea-ref.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/layout/reftests/forms/placeholder/placeholder-overflow-textarea-ref.html b/layout/reftests/forms/placeholder/placeholder-overflow-textarea-ref.html
new file mode 100644
index 0000000000..559945a50f
--- /dev/null
+++ b/layout/reftests/forms/placeholder/placeholder-overflow-textarea-ref.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+ <!--
+ This test 'emulate' the placeholder by setting a style
+ to the value of a textarea.
+ This test may break if placeholder default style is changed.
+ -->
+ <link rel='stylesheet' type='text/css' href='placeholder-style.css'>
+
+ <body>
+ <textarea class="placeholder" cols="5" rows="3">my placeholder</textarea>
+ </body>
+</html>