summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/textarea/padding-text-overflow.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/forms/textarea/padding-text-overflow.html')
-rw-r--r--layout/reftests/forms/textarea/padding-text-overflow.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/layout/reftests/forms/textarea/padding-text-overflow.html b/layout/reftests/forms/textarea/padding-text-overflow.html
new file mode 100644
index 0000000000..92cc4f38ec
--- /dev/null
+++ b/layout/reftests/forms/textarea/padding-text-overflow.html
@@ -0,0 +1,13 @@
+<!doctype html>
+<style>
+ textarea {
+ width: 100px;
+ height: 100px;
+ box-sizing: border-box;
+ padding: 50px 0px;
+ overflow: hidden;
+ resize: none;
+ }
+</style>
+<!-- Text should be visible -->
+<textarea>Foo</textarea>