Summary: | REGRESSION: A radio button without a name cannot be triggered | ||
---|---|---|---|
Product: | WebKit | Reporter: | Alexey Proskuryakov <ap> |
Component: | Forms | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | ddkilzer, ian |
Priority: | P1 | Keywords: | HasReduction, InRadar, Regression |
Version: | 420+ | ||
Hardware: | Mac | ||
OS: | OS X 10.4 | ||
URL: | data:text/html,<input type="radio"> |
Description
Alexey Proskuryakov
2007-12-07 00:40:02 PST
Fails in the earliest WebKit nightly build, r11976, with Safari 2.0.4 (419.3) on Mac OS X 10.4.11 (8S165). 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. INVALID then. 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. Adding Hixie for comment on Comment #6. 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. *** This bug has been marked as a duplicate of 21534 *** (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. |