Reftest for bug 325486 - Input element default value invisible when overflowing parent div, r=dbaron

This commit is contained in:
martijn.martijn%gmail.com 2007-03-11 19:09:33 +00:00
Родитель 85e714384e
Коммит 8675b6764d
3 изменённых файлов: 31 добавлений и 0 удалений

Просмотреть файл

@ -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>

Просмотреть файл

@ -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: 50px; 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: 50px; 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>

Просмотреть файл

@ -95,6 +95,7 @@ fails == 25888-3r.html 25888-3r-ref.html # bug 25888
== 315620-2a.xhtml 315620-2-ref.xhtml
!= 315620-2b.xhtml 315620-2-ref.xhtml
== 322461-1.xml 322461-1-ref.html
== 325486-1.html 325486-1-ref.html
random == 328829-1.xhtml 328829-1-ref.xhtml # bug 369046 (intermittent)
== 328829-2.xhtml 328829-2-ref.xhtml
== 332360.html 332360-ref.html