325486-1-ref.html (795B)
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> 2 <html><head> 3 <title>Testcase bug 325486 - Input element default value invisible when overflowing parent div</title> 4 </head><body> 5 <div style="position: absolute; top: 100px; left: 10px; width: 500px; height: 50px;"> 6 <div style="border: 2px solid blue; position: absolute;"> 7 <input value="This text gets cut off but should not. (outer div positioned absolutely)" style="width:400px;"> 8 </div> 9 </div> 10 <div style="position: relative; top: 150px; left: 10px; width: 500px; height: 50px;"> 11 <div style="border: 2px solid blue; position: absolute;"> 12 <input value="This text gets cut off but should not. (outer div positioned relatively)" style="width:400px;"> 13 </div> 14 </div> 15 </body></html>