Closed
Bug 42972
Opened 25 years ago
Closed 25 years ago
[FIX]checkbox/radio value attribute updated AFTER onclick fired
Categories
(Core :: Layout: Form Controls, defect, P3)
Tracking
()
VERIFIED
FIXED
M17
People
(Reporter: Chris244, Assigned: rods)
References
Details
(Whiteboard: [nsbeta3+]fix in my tree)
Attachments
(1 file)
|
502 bytes,
text/html
|
Details |
The value of a checkbox should be updated before the onclick event. The test
case works in NS 4.x but fails in mozilla.
| Reporter | ||
Comment 1•25 years ago
|
||
| Assignee | ||
Comment 2•25 years ago
|
||
The ESM dispatches the event to JS before the DOM event handlers get called to
change the value in the NS_MOUSE_LEFT_CLICK switch in HandleDOMEvent method.
So if I have the nsHTMLInputElement set the value in NS_MOUSE_LEFT_BUTTON_UP
switch of HandleDOMEvent then it will be set correctly when the CLICK comes
through.
| Assignee | ||
Updated•25 years ago
|
Whiteboard: fix in my tree
| Assignee | ||
Updated•25 years ago
|
Severity: normal → major
Target Milestone: --- → M16
| Assignee | ||
Updated•25 years ago
|
Summary: checkbox value attribute updated AFTER onclick fired → [FIX]checkbox value attribute updated AFTER onclick fired
M16 has been out for a while now, these bugs target milestones need to be
updated.
| Assignee | ||
Comment 4•25 years ago
|
||
For the most part milestones are pretty meaningless at this point.
nsbeta2 and nsbeta3 are pretty meaningful. Getting the bug counts down to zero
(excluding future bugs) is the important part.
| Assignee | ||
Updated•25 years ago
|
Summary: [FIX]checkbox value attribute updated AFTER onclick fired → [FIX]checkbox/radio value attribute updated AFTER onclick fired
This should be plussed - this hit us in AIM with the sign-on panel, and I just
happened to try to use oncommand instead of onclick in radio buttons.
Developers outside netscape are going to hit this bug hard if they dont know
about oncommand. PDT, could you please consider this one?
So, this not only effects checkboxes but radio buttons as well.
| Assignee | ||
Comment 10•25 years ago
|
||
fixed
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 11•25 years ago
|
||
*** Bug 48000 has been marked as a duplicate of this bug. ***
Comment 12•25 years ago
|
||
This is behaving the same in Communicator 4.x, IE5, and NS6
Marking VERIFIED FIXED on:
- LinuxRH62 2000-09-07-08-M18 Commercial
- Win98 2000-09-07-08-M18 Mozilla
- MacOS86 2000-09-07-04-M18 Commercial
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•