Index: webkit/data/layout_tests/chrome/fast/dom/object_collection.html |
=================================================================== |
--- webkit/data/layout_tests/chrome/fast/dom/object_collection.html (revision 12664) |
+++ webkit/data/layout_tests/chrome/fast/dom/object_collection.html (working copy) |
@@ -1,52 +0,0 @@ |
-<html> |
-<head> |
- |
-<script> |
- if (window.layoutTestController) |
- layoutTestController.dumpAsText(); |
- |
- function check() { |
- var node = document.getElementById("result"); |
- |
- if ((typeof document.f.cb0 == 'undefined') && |
- (document.f.cb1.nodeName == 'INPUT') && |
- (document.f.cb2.length == 2) && |
- (document.f.rb2.length == 2)) { |
- node.innerHTML = "Test Passed"; |
- } else { |
- node.innerHTML = "Test Failed"; |
- } |
-} |
-</script> |
-</head> |
- |
-<body onload="check()"> |
-<p> |
- <b>Test purpose: </b> |
- Multiple radio buttons/checkboxes with the same name should map to |
- 'object:collection' when accessed thru document.form.name. Bug#805063 |
-</p> |
-<form name="f"> |
- <ul> |
- <li>Radio button: |
- <input type="radio" name="rb2"/>Male |
- <input type="radio" name="rb2"/>Female |
- </li> |
- |
- <li>Checkbox: |
- <input type="checkbox" name="cb1"/>1 |
- </li> |
- |
- <li>Checkbox: |
- <input type="checkbox" name="cb2"/>1 |
- <input type="checkbox" name="cb2"/>2 |
- </li> |
- </ul> |
-</form> |
- |
-<B>Result:</B><div id="result"></div> |
- |
-</body> |
- |
-</HTML> |
- |