Closed Bug 184188 Opened 22 years ago Closed 21 years ago

Checkboxes with JS-changed style revert width and height when clicked

Categories

(Core :: Layout: Form Controls, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: john, Unassigned)

Details

Attachments

(1 file)

Checkboxes where you change the JS style twice will revert their width and height style when you click them. This is a complicated thing to reproduce, but here it is: 1. Load the attached testcase. 2. Click "100" 3. Click a checkbox (yes, you must do this) 4. Click "200" 5. Click a checkbox Actual Results: width and height revert to 300px, the original value (if there was no style, it would revert to the normal checkbox size) Expected Results: checkbox just toggles, no width/height change
Attached file Testcase
Notes: - this does not happen if you omit step 2 (thus JS must have changed width/height before the first click) - this does NOT happen if you omit step 3 (thus you must click it after you first change width/height with JS) - this happens no matter how many times you change the width/height in step 4
This worksforme with a current build; most likely fixed by the patch in bug 171830
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: