unittests/html/selectboxes1.html in firewatir-1.6.5 vs unittests/html/selectboxes1.html in firewatir-1.6.6.rc1

- old
+ new

@@ -1,55 +1,55 @@ -<html> -<head> -<title> -Test page for select boxes -</title> - <link rel="stylesheet" type="text/css" href="watir_unit_tests.css"> -</head> -<body> -<script language="javascript"> - function changeLocation() - { - document.location.href = "pass.html"; - } - function show_alert() - { - textbox = document.getElementById('txtAlert'); - alert("Press OK") - textbox.value = "You pressed OK button"; - } -</script> -CVS Revision: $Revision: 1.0 $ -<br> -<br> -<table> - -<tr> -<td> -<select name = sel1 class='list_style'> -<option value=o1 >Option 1</option><option value=o2 >Option 2</option><option value=o3 SELECTED >Option 3</option><option value=o4 >Option 4</option></select></td></tr> -<tr> -<td> -<select name = sel2 multiple> -<option value=o1 >Option 1</option><option value=o2 class='option_style'>Option 2</option><option value=o3 class='option_style' SELECTED >Option 3</option><option value=o4 class='option_style'>Option 4</option><option value=o6 class='option_style'>Option 5</option><option value=o6 class='option_style' SELECTED >Option 6</option></select></td> -</tr> -<tr> -<td> -<select name = sel3 onChange = 'changeLocation();'> -<option value = o1>Option 1</option><option value = o2>Option 2</option><option value = o3 selected>Option 3</option><option value = o4>Option 4</option></select></td> - -<td> This box is used for testing the onchange event -</td></tr> -<tr> -<td><select id = 'selectbox_4' disabled><option value = o1>Option 1</option><option value = o2>Option 2</option> -</td> -<td>This box has an id</td></tr> -<tr> -<td><select id= 'selectbox_5' onchange='show_alert();'><option value = o1>Option 1</option><option value = o2>Option 2</option></select></td><td> - <input id='txtAlert'> - </td></tr> -</table> - - - -</body> -</html> +<html> +<head> +<title> +Test page for select boxes +</title> + <link rel="stylesheet" type="text/css" href="watir_unit_tests.css"> +</head> +<body> +<script language="javascript"> + function changeLocation() + { + document.location.href = "pass.html"; + } + function show_alert() + { + textbox = document.getElementById('txtAlert'); + alert("Press OK") + textbox.value = "You pressed OK button"; + } +</script> +CVS Revision: $Revision: 1.0 $ +<br> +<br> +<table> + +<tr> +<td> +<select name = sel1 class='list_style'> +<option value=o1 >Option 1</option><option value=o2 >Option 2</option><option value=o3 SELECTED >Option 3</option><option value=o4 >Option 4</option></select></td></tr> +<tr> +<td> +<select name = sel2 multiple> +<option value=o1 >Option 1</option><option value=o2 class='option_style'>Option 2</option><option value=o3 class='option_style' SELECTED >Option 3</option><option value=o4 class='option_style'>Option 4</option><option value=o6 class='option_style'>Option 5</option><option value=o6 class='option_style' SELECTED >Option 6</option></select></td> +</tr> +<tr> +<td> +<select name = sel3 onChange = 'changeLocation();'> +<option value = o1>Option 1</option><option value = o2>Option 2</option><option value = o3 selected>Option 3</option><option value = o4>Option 4</option></select></td> + +<td> This box is used for testing the onchange event +</td></tr> +<tr> +<td><select id = 'selectbox_4' disabled><option value = o1>Option 1</option><option value = o2>Option 2</option> +</td> +<td>This box has an id</td></tr> +<tr> +<td><select id= 'selectbox_5' onchange='show_alert();'><option value = o1>Option 1</option><option value = o2>Option 2</option></select></td><td> + <input id='txtAlert'> + </td></tr> +</table> + + + +</body> +</html>