Closed Bug 14951 Opened 21 years ago Closed 20 years ago

Checkbox/radio control problem

Categories

(Core :: Layout: Form Controls, enhancement, P3)

x86
Windows NT
enhancement

Tracking

()

VERIFIED FIXED

People

(Reporter: michael.j.lowe, Assigned: rods)

Details

Attachments

(2 files)

Perform this sequence of events

1. Mouse into a checkbox/radio control
2. Press left mouse button down
3. Mouse out of control
4. Lift left mouse button

Notice the control has still retained the mouse down state
Assignee: karnaze → kmcclusk
Reassigning to Kevin.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
I tested this on test8.html using WIN32 apprunner build from Sept 27, 1999 10:00
with gfx checkboxes and radio buttons and it works properly for me.

When I mouse down the radio button or checkbox is rendered as active.
If I move out of the radio button or checkbox and release they go back to their
non-active appearance and the click does not change their state.

Marking as  worksforme
Status: RESOLVED → REOPENED
Attached image Screenshot of problem
Resolution: WORKSFORME → ---
Attached before and after screenshot of problem on 28/9/1999 build.
Severity: normal → enhancement
It turns out that this is not a problem with the code, but is the result of the
:focus style that is set in html.css.   It would be better if the :focus style
was more like it is for native Windows controls - that is having a 1px dotted
outline around the control text label, instead of the current Mozilla style (an
inset border).
Assignee: kmcclusk → rods
Status: REOPENED → NEW
Attached is a patch which fixes the visual focus problem with radio controls as
well as bringing the visual style of disabled and readonly edit controls into
line with how they are formated on Window, and prevents visual focus on disabled
select controls.  Hope you can review it for checkin.   This bug can then be
closed.
Status: NEW → RESOLVED
Closed: 21 years ago20 years ago
Resolution: --- → FIXED
I did not use the attached fix (should have, I know). But this looks like I
fixed it when I fixed all the ordering of the hove, focus, active rules for all
the form controls. marking fixed.
QA Contact update.
Updating QA contact.
QA Contact: ckritzer → bsharma
Works for Me
Platform: PC
OS: Windows 98
Mozilla Version: 2000100508

Marking as Verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.