unittests/html/checkboxes1.html in watir-1.6.2 vs unittests/html/checkboxes1.html in watir-1.6.5

- old
+ new

@@ -1,90 +1,90 @@ -<html> -<head> -<title> -Test page for Check Boxes -</title> - -<script> - -function setButtonState( ) -{ - var button = document.getElementById('foo'); - if (button.disabled ){ - - button.disabled = false - } else { - button.disabled = true - } -} -</script> - - <link rel="stylesheet" type="text/css" href="watir_unit_tests.css"> - -</head> -<body> -CVS Revision: $Revision $ -<br> -<br> -<table> -<tr> -<td> -CheckBox 1 <input type = checkbox name = box1 class=check_box_style > -</td> -</tr> - -<tr> -<td> -Disabled<input type = checkbox name = box2 disabled> -</td> -</tr> -<tr> -<td> -Set<input type = checkbox name = box3 checked> -</td> -</tr> -<tr><td> -These 2 have ids -<br> -id= box4 value=1 <input type ='checkbox' id='box4' name='verify1' value='1' checked> -<br> -id = box4a value=2 <input type = 'checkbox' id = 'box4a' name= 'verify2' value = '2' checked> -</tr> -<br> -<tr> -These boxes have the same name, but different values -</tr> - -<tr><td> -Name = box4 value=1 <input type = checkbox name = box4 value = 1 checked> -</tr> -<tr><td> -Name = box4 value=2 <input type = checkbox name = box4 value = 2> -</tr> -<tr><td> -Name = box4 value=3 <input type = checkbox name = box4 value = 3> -</tr> -<tr><td> -Name = box4 value=4 <input type = checkbox name = box4 value = 4> -</tr> -<tr><td> -Name = box4 value=5 <input type = checkbox name = box4 value = 5 disabled title="box4-value5"> -</tr> - -<tr><td> -Name = box5 value=1 <input type = checkbox name = box5 value = 1 onClick='javascript:setButtonState( )'> -</tr> - -<tr><td> -<input type = button id = foo value = foo disabled=disabled ><td> This button is used with checkbox box5. This button is enabled if the checkbox is enabled -</tr> - -<tr><td> -Milk<input type = checkbox name = "box6" value ="Milk"> -<br> -Tea<input type = checkbox name = "box6" value ="Tea"> -</tr> - - -</table> -</body> +<html> +<head> +<title> +Test page for Check Boxes +</title> + +<script> + +function setButtonState( ) +{ + var button = document.getElementById('foo'); + if (button.disabled ){ + + button.disabled = false + } else { + button.disabled = true + } +} +</script> + + <link rel="stylesheet" type="text/css" href="watir_unit_tests.css"> + +</head> +<body> +CVS Revision: $Revision $ +<br> +<br> +<table> +<tr> +<td> +CheckBox 1 <input type = checkbox name = box1 class=check_box_style > +</td> +</tr> + +<tr> +<td> +Disabled<input type = checkbox name = box2 disabled> +</td> +</tr> +<tr> +<td> +Set<input type = checkbox name = box3 checked> +</td> +</tr> +<tr><td> +These 2 have ids +<br> +id= box4 value=1 <input type ='checkbox' id='box4' name='verify1' value='1' checked> +<br> +id = box4a value=2 <input type = 'checkbox' id = 'box4a' name= 'verify2' value = '2' checked> +</tr> +<br> +<tr> +These boxes have the same name, but different values +</tr> + +<tr><td> +Name = box4 value=1 <input type = checkbox name = box4 value = 1 checked> +</tr> +<tr><td> +Name = box4 value=2 <input type = checkbox name = box4 value = 2> +</tr> +<tr><td> +Name = box4 value=3 <input type = checkbox name = box4 value = 3> +</tr> +<tr><td> +Name = box4 value=4 <input type = checkbox name = box4 value = 4> +</tr> +<tr><td> +Name = box4 value=5 <input type = checkbox name = box4 value = 5 disabled title="box4-value5"> +</tr> + +<tr><td> +Name = box5 value=1 <input type = checkbox name = box5 value = 1 onClick='javascript:setButtonState( )'> +</tr> + +<tr><td> +<input type = button id = foo value = foo disabled=disabled ><td> This button is used with checkbox box5. This button is enabled if the checkbox is enabled +</tr> + +<tr><td> +Milk<input type = checkbox name = "box6" value ="Milk"> +<br> +Tea<input type = checkbox name = "box6" value ="Tea"> +</tr> + + +</table> +</body> </html> \ No newline at end of file