This commit is contained in:
bzbarsky%mit.edu 2006-06-07 17:47:21 +00:00
Родитель 0b84efbd0d
Коммит 0456cb95ea
3 изменённых файлов: 107 добавлений и 0 удалений

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

@ -0,0 +1,27 @@
<HTML>
<HEAD><TITLE>Test case for bug #7025</TITLE></HEAD>
<BODY ONLOAD="document.forms[0].elements[0].selectedIndex=4;document.forms[0].elements[1].selectedIndex=4">
<FORM>
<TABLE><TR><TD>
Multiple:
<SELECT SIZE="2" MULTIPLE>
<OPTION>1
<OPTION>2
<OPTION>3
<OPTION>4
<OPTION>5
<OPTION>6
</SELECT>
</TD><TD>
Not Multiple:
<SELECT SIZE="2">
<OPTION>1
<OPTION>2
<OPTION>3
<OPTION>4
<OPTION>5
<OPTION>6
</SELECT>
</TD></TR></TABLE>
</BODY>
</HTML>

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

@ -0,0 +1,78 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<HEAD>
<script>
function selectitem()
{
var node = document.getElementById("list1");
node.selectedIndex = 5;
node = document.getElementById("list2");
node.selectedIndex = 5;
}
</script>
</HEAD>
<BODY>
<table>
<tr>
<td>
<select id=list1>
<option>Lime0</option>
<option>Lime1</option>
<option>Lime2</option>
<option>Lime3</option>
<option>Lime4</option>
<option>Lime5</option>
<option>Lime6</option>
<option>Lime7</option>
<option>Lime0</option>
<option>Lime1</option>
<option>Lime2</option>
<option>Lime3</option>
<option>Lime4</option>
<option>Lime5</option>
<option>Lime6</option>
<option>Lime7</option>
<option>Lime0</option>
<option>Lime1</option>
<option>Lime2</option>
<option>Lime3</option>
<option>Lime4</option>
<option>Lime5</option>
<option>Lime6</option>
<option>Lime7</option>
<option>Lime0</option>
<option>Lime1</option>
<option>Lime2</option>
<option>Lime3</option>
<option>Lime4</option>
<option>Lime5</option>
<option>Lime6</option>
<option>Lime7</option>
<option selected>Strawberry</option>
</select>
</td>
<td>
<select size=3 id=list2>
<option>Lime0</option>
<option>Lime1</option>
<option>Lime2</option>
<option>Lime3</option>
<option>Lime4</option>
<option>Lime5</option>
<option>Lime6</option>
<option>Lime</option>
<option selected>Strawberry</option>
</select>
</td>
</tr>
</table>
<input type=button value="Select Item 5" onclick="selectitem()">
</body>
</HTML>

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

@ -60,6 +60,8 @@ bug65275.html
bug67207.html
bug68963.html
bug69984.html
bug7025-1.html
bug7025-2.html
bug70381.html
bug74069.html
bug7543.html