Closed Bug 144293 Opened 23 years ago Closed 23 years ago

Radio buttons don't work properly

Categories

(Core :: Layout: Form Controls, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: neeracher, Assigned: john)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.0rc2) Gecko/20020510 BuildID: 2002051005 Ever since Mozilla rc1, the slashdot meta moderation page no longer works properly for me, since the radio buttons no longer highlight and unhighlight properly. Visually, I often end up with multiple selections, and apparently, the form often does not send my proper selection back to the server. The buttons on that page are all of the form: This rating is <b>Unfair <input TYPE="RADIO" NAME="mm1437048" VALUE="-"> <input TYPE="RADIO" NAME="mm1437048" VALUE="0" CHECKED> <input TYPE="RADIO" NAME="mm1437048" VALUE="+"> Fair</b>&nbsp;&nbsp|&nbsp; Reproducible: Always Steps to Reproduce: 1. Become a registered member of slashdot (http://www.slashdot.org it's free) 2. Visit www.slashdot.org 3. Click the link "Have you meta-moderated today?" at the top. 4. Try to fill in the form. Actual Results: When I click on the "Fair" radio button, the middle button does not unhighlight. When I click on the "Unfair" button, all buttons get unhighlighted. Upon further clicks, the buttons react in a weird manner. The results sent back are not wwhat is visually displayed, even if ultimately only one button in each group is highlighted. Expected Results: Treat the radio buttons like radio buttons. This worked fine before rc1 and has been broken in rc1 and rc2.
-->
Assignee: rods → jkeiser
Not seeing the problem on trunk, Linux 2002051310. Lessee what branch looks like.
WFM Linux 1.0, post-RC2 at least. Could be Mac-only.
Linux RC2 is fine too. At least I can click on the - and + radio buttons and others in the same group get unchecked.
I am seeing the reported problem (on radio buttons in my web page) on build 2002052921 on linux. My friend downloaded netscape 6.2 for windows and he too encountered the same problem.
I did some tests. It seems like radio buttons work just fine on a form with no CSS styles applied. My page I mentioned previuosly that has the problem has some CSS styles applied to it. Let me isolate what exactly causes the problem.
Found the problem! If the radio buttons are not enclosed in a form element you'll have the problem. I guess not enclosing them in a form is not standard compliant?
That's bug 14445, presumably not this bug since it works.
If that's the case, this bug is more appropriately Evangelism. Input elements have no meaning outside a form element.
The problem we're discussing right now is not this bug, so it would not go to Evangelism. This bug has not been reproduced successfully yet.
There have been a number of fixes to radio buttons, and I cannot reproduce this on WinXP 2002120208 *or* MacOSX 2002120308. For that matter, MacOSX 7.0 seems to be fixed as well. Reopen if you still see this.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.