WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
Bug 36551
Radio buttons with empty names should form a group, too
https://bugs.webkit.org/show_bug.cgi?id=36551
Summary
Radio buttons with empty names should form a group, too
Steven Jay Cohen
Reported
2010-03-24 12:52:12 PDT
Created
attachment 51536
[details]
movie of error The following code allows Safari to select both radio buttons (when it should only be allowed to select one. Non-webkit browsers (notably Firefox) handle this code with the expected behavior: <html> <body> <form> <input type="radio" name="" value="male" /> Male <br /> <input type="radio" name="" value="female" /> Female </form> </body> </html>
Attachments
movie of error
(1.69 MB, video/quicktime)
2010-03-24 12:52 PDT
,
Steven Jay Cohen
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2010-03-24 17:12:30 PDT
Confirmed as a difference with Firefox. We should also check what IE does, and what HTML5 says.
Kent Tamura
Comment 2
2011-12-21 01:20:49 PST
HTML5 says
> They both have a name attribute, their name attributes are not empty, and the value of a's name attribute is a compatibility caseless match for the value of b's name attribute.
http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html#radio-button-state-(type=radio
) IE also doesn't make a group for empty name. We have no reason to change the current behavior.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug