RESOLVED DUPLICATE of bug 21534 16337
REGRESSION: A radio button without a name cannot be triggered
https://bugs.webkit.org/show_bug.cgi?id=16337
Summary REGRESSION: A radio button without a name cannot be triggered
Alexey Proskuryakov
Reported 2007-12-07 00:40:02 PST
Follow-up from bug 16273. Steps to reproduce: 1. Open the bug URL. 2. Try to click the radio button. Results: it is highlighted on mouse down, but never triggered. Works in Firefox, works in Safari 2.0.4, fails in Safari 3.0.4 and TOT.
Attachments
David Kilzer (:ddkilzer)
Comment 1 2007-12-07 04:25:49 PST
David Kilzer (:ddkilzer)
Comment 2 2007-12-07 04:28:31 PST
Fails in the earliest WebKit nightly build, r11976, with Safari 2.0.4 (419.3) on Mac OS X 10.4.11 (8S165).
Rob Buis
Comment 3 2007-12-08 09:11:51 PST
It seems this is done for winIE compability, see line 1047 of HTMLInputElement: 1047 return 0; // Match WinIE and don't allow unnamed radio b uttons to be checked. 1048 // Checked buttons just stay checked. See also test fast/forms/radio_checked_name.html. Cheers, Rob.
Alexey Proskuryakov
Comment 4 2007-12-08 09:45:30 PST
INVALID then.
David Kilzer (:ddkilzer)
Comment 5 2007-12-08 13:41:43 PST
Eric Seidel (no email)
Comment 6 2007-12-08 15:17:44 PST
I'm not sure this is really the correct behavior for XHTML... maybe. I guess we should make sure this is part of the HTML5 spec.
David Kilzer (:ddkilzer)
Comment 7 2007-12-08 15:30:02 PST
Adding Hixie for comment on Comment #6.
Ian 'Hixie' Hickson
Comment 8 2008-11-01 12:57:51 PDT
IE8 doesn't do this, so I'm not going to make the spec say to do it either. Mozilla and Opera don't do it.
Alexey Proskuryakov
Comment 9 2008-12-07 02:02:45 PST
*** This bug has been marked as a duplicate of 21534 ***
David Kilzer (:ddkilzer)
Comment 10 2008-12-07 04:29:13 PST
(In reply to comment #8) > IE8 doesn't do this, so I'm not going to make the spec say to do it either. > Mozilla and Opera don't do it. Hixie, apparently IE7 and IE8 do this now. See Bug 21534 Comment #5.
Note You need to log in before you can comment on or make changes to this bug.