Bug 103847 - [test case] multiple radio buttons can be selected at once.
Summary: [test case] multiple radio buttons can be selected at once.
Status: RESOLVED DUPLICATE of bug 89363
Alias: None
Product: konqueror
Classification: Applications
Component: khtml forms (show other bugs)
Version: 3.3.2
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 106351 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-04-14 01:13 UTC by Alexander Rødseth
Modified: 2006-01-30 06:27 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
test case (247 bytes, text/html)
2005-08-18 13:32 UTC, Tommi Tervo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Rødseth 2005-04-14 01:13:20 UTC
Version:           3.3.2 (using KDE 3.3.2,  (3.1))
Compiler:          gcc version 3.3.5 (Debian 1:3.3.5-8)
OS:                Linux (i686) release 2.6.11wheee

From RFC 1866, about radio-buttons:
---
8.1.2.4. Radio Button: INPUT TYPE=RADIO

   An <INPUT> element with `TYPE=RADIO' represents a boolean choice. A
   set of such elements with the same name represents a 1-of-many choice
   field. The NAME and VALUE attributes are required as for check boxes.
   Optional attributes are:

    CHECKED
            indicates that the initial state is on.
   At all times, exactly one of the radio buttons in a set is checked.
   If none of the <INPUT> elements of a set of radio buttons specifies
   `CHECKED', then the user agent must check the first radio button of
   the set initially.

   For example:

    <p>Which is your favorite?
    <input type=radio name=flavor value=vanilla>Vanilla<br>
    <input type=radio name=flavor value=strawberry>Strawberry<br>
    <input type=radio name=flavor value=chocolate>Chocolate<br>
---

Notice especially the following:
---
If none of the <INPUT> elements of a set of radio buttons specifies
   `CHECKED', then the user agent must check the first radio button of
   the set initially.
---

As far as I can tell, Konqueror does not comply. When no radiobuttons are default, all of them are checked.
Comment 1 Alexander Rødseth 2005-04-14 01:39:47 UTC
I was wrong. The problem occurs only when all radiobuttons are checked, and not when none of them are checked.

If Konqueror, like most other browsers could allow only for one of them to be checked at the same time, I would really appreciate it.

Thanks.
Comment 2 Thiago Macieira 2005-04-14 02:10:05 UTC
So, is there a problem?
Comment 3 Alexander Rødseth 2005-04-14 02:19:08 UTC
Yes. Konqueror allows several radiobuttons to be checked at once, as opposed to all other browsers I know of. It lies in the very definition of a radiobutton that only one can be checked.
Comment 4 Tommi Tervo 2005-08-18 13:32:10 UTC
Created attachment 12253 [details]
test case

Confirmed on r449681
Comment 5 Maksim Orlovich 2005-08-18 16:57:09 UTC
That's because they're not in a form. 

Comment 6 Tommi Tervo 2005-08-19 14:44:52 UTC
*** Bug 106351 has been marked as a duplicate of this bug. ***
Comment 7 Maksim Orlovich 2006-01-30 06:27:35 UTC

*** This bug has been marked as a duplicate of 89363 ***