mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Adding regression tests.
This commit is contained in:
parent
b719adb951
commit
e5353c4b1a
31
layout/html/tests/formctls/bugs/bug300474-1.html
Normal file
31
layout/html/tests/formctls/bugs/bug300474-1.html
Normal file
@ -0,0 +1,31 @@
|
||||
<html>
|
||||
<body>
|
||||
<form>
|
||||
The buggy display : Select's size attribute is not specified :
|
||||
<select multiple="multiple">
|
||||
<optgroup label="Label">
|
||||
<option label="a">a</option>
|
||||
<option label="a">a</option>
|
||||
<option label="a">a</option>
|
||||
</optgroup>
|
||||
</select>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
What should be displayed : Select's size attribute is forced to 4 :
|
||||
<select multiple="multiple" size="4">
|
||||
<optgroup label="Label">
|
||||
<option label="a">a</option>
|
||||
<option label="a">a</option>
|
||||
<option label="a">a</option>
|
||||
</optgroup>
|
||||
</select>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
The width of the widget is also not perfect.
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
531
layout/html/tests/formctls/bugs/bug300474-2.html
Normal file
531
layout/html/tests/formctls/bugs/bug300474-2.html
Normal file
@ -0,0 +1,531 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html><head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
<title>Testcase for bug 300474</title>
|
||||
<style type="text/css">
|
||||
|
||||
html,body {
|
||||
color:black; background-color:white; font-size:12px; padding:0; margin:0;
|
||||
}
|
||||
p { font-weight: bold; color:blue; margin-top:0; }
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>unspecified size</p>
|
||||
<select multiple>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple>
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<option>o
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
</select>
|
||||
|
||||
|
||||
<select multiple>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<option>o
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
</select>
|
||||
|
||||
|
||||
<select multiple>
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple>
|
||||
<option>o
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple>
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple>
|
||||
</select>
|
||||
|
||||
|
||||
<br>
|
||||
<hr>
|
||||
<br>
|
||||
<p>size=0</p>
|
||||
|
||||
<select multiple size=0>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple size=0>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<option>o
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple size=0>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple size=0>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
</select>
|
||||
|
||||
|
||||
<select multiple size=0>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple size=0>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<option>o
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple size=0>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple size=0>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
</select>
|
||||
|
||||
|
||||
<select multiple size=0>
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple size=0>
|
||||
<option>o
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple size=0>
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple size=0>
|
||||
</select>
|
||||
|
||||
<br>
|
||||
<hr>
|
||||
<br>
|
||||
<p>size=1</p>
|
||||
|
||||
<select multiple size=1>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple size=1>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<option>o
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple size=1>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple size=1>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
</select>
|
||||
|
||||
|
||||
<select multiple size=1>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple size=1>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<option>o
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple size=1>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple size=1>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
</select>
|
||||
|
||||
|
||||
<select multiple size=1>
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple size=1>
|
||||
<option>o
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple size=1>
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple size=1>
|
||||
</select>
|
||||
|
||||
|
||||
<br>
|
||||
<hr>
|
||||
<br>
|
||||
<p>size=4</p>
|
||||
|
||||
<select multiple size=4>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple size=4>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<option>o
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple size=4>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple size=4>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
</select>
|
||||
|
||||
|
||||
<select multiple size=4>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple size=4>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<option>o
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple size=4>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple size=4>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
</select>
|
||||
|
||||
|
||||
<select multiple size=4>
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple size=4>
|
||||
<option>o
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple size=4>
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple size=4>
|
||||
</select>
|
||||
|
||||
|
||||
<br>
|
||||
<hr>
|
||||
<br>
|
||||
|
||||
<p>CSS height:300px</p>
|
||||
<select multiple style="height:300px">
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple style="height:300px">
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple style="height:300px">
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple style="height:300px">
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<option>o
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple style="height:300px">
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple style="height:300px">
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
</select>
|
||||
|
||||
|
||||
<select multiple style="height:300px">
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple style="height:300px">
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<option>o
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple style="height:300px">
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple style="height:300px">
|
||||
<optgroup label="g"></optgroup>
|
||||
<optgroup label="g"></optgroup>
|
||||
</select>
|
||||
|
||||
|
||||
<select multiple style="height:300px">
|
||||
<option>o
|
||||
<option>o
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple style="height:300px">
|
||||
<option>o
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple style="height:300px">
|
||||
<option>o
|
||||
</select>
|
||||
<select multiple style="height:300px">
|
||||
</select>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
@ -22,6 +22,8 @@ bug231574.html
|
||||
bug26644.html
|
||||
bug26650.html
|
||||
bug28598.html
|
||||
bug300474-1.html
|
||||
bug300474-2.html
|
||||
bug33327.html
|
||||
bug35934.html
|
||||
bug36130.html
|
||||
|
Loading…
Reference in New Issue
Block a user