summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/325486-1-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/325486-1-ref.html')
-rw-r--r--layout/reftests/bugs/325486-1-ref.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/layout/reftests/bugs/325486-1-ref.html b/layout/reftests/bugs/325486-1-ref.html
new file mode 100644
index 0000000000..3ee2633bd5
--- /dev/null
+++ b/layout/reftests/bugs/325486-1-ref.html
@@ -0,0 +1,15 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html><head>
+<title>Testcase bug 325486 - Input element default value invisible when overflowing parent div</title>
+</head><body>
+<div style="position: absolute; top: 100px; left: 10px; width: 500px; height: 50px;">
+ <div style="border: 2px solid blue; position: absolute;">
+ <input value="This text gets cut off but should not. (outer div positioned absolutely)" style="width:400px;">
+ </div>
+</div>
+<div style="position: relative; top: 150px; left: 10px; width: 500px; height: 50px;">
+ <div style="border: 2px solid blue; position: absolute;">
+ <input value="This text gets cut off but should not. (outer div positioned relatively)" style="width:400px;">
+ </div>
+</div>
+</body></html>