RESOLVED DUPLICATE of bug 7967 9278
Quirksmode: Properties of radio button arrays
https://bugs.webkit.org/show_bug.cgi?id=9278
Summary Quirksmode: Properties of radio button arrays
Adele Peterson
Reported 2006-06-02 15:08:21 PDT
http://www.quirksmode.org/bugreports/archives/safari/index.html "Safari and Explorer Mac have trouble with reading JavaScript properties of an entire radio button array. Test page. http://www.quirksmode.org/js/tests/attributes_radio.html Workaround is not included. Reported by ppk."
Attachments
working test case (1.38 KB, text/html)
2009-01-01 23:45 PST, Robert Blaut
no flags
Joost de Valk (AlthA)
Comment 1 2006-06-24 14:14:45 PDT
Bug in JSC, i think, indeed something is wrong here, as the message is "undefined" which it should not be.
Robert Blaut
Comment 2 2009-01-01 23:45:56 PST
Created attachment 26362 [details] working test case Since original test case doesn't work (lack of type defined for script element) I upload corrected test case exposing the reported issue.
Alexey Proskuryakov
Comment 3 2009-01-02 00:06:06 PST
The problem here is that a new Collection object is created on each access to HTMLFormElement.elements[name] - a more direct test would be radios[i].onclick = function () { alert(this.form[this.name] === radios) } *** This bug has been marked as a duplicate of 7976 ***
Alexey Proskuryakov
Comment 4 2009-01-02 00:07:40 PST
Oops, duped to a wrong bug.
Alexey Proskuryakov
Comment 5 2009-01-02 00:07:59 PST
*** This bug has been marked as a duplicate of 7967 ***
Note You need to log in before you can comment on or make changes to this bug.