Closed Bug 1939 Opened 26 years ago Closed 25 years ago

{css1} form elements not supporting borders and padding

Categories

(Core :: Layout: Form Controls, defect, P2)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: kipp, Assigned: rods)

References

()

Details

(Keywords: css1, Whiteboard: [M10])

It looks like the form element base class, nsFormControlFrame, doesn't support borders and padding. It should. You may need to create a pair of frames to do this: an outer frame that takes care of the border and padding and an inner frame that doesn't. However, if you switch over to completely windowless controls then you don't need to bother and your paint-code can deal with it.
Status: NEW → ASSIGNED
*** Bug 1826 has been marked as a duplicate of this bug. ***
Setting all current Open/Normal to M4.
per leger, assigning QA contacts to all open bugs without QA contacts according to list at http://bugzilla.mozilla.org/describecomponents.cgi?product=Browser
Marking M5
QA Contact: 4110 → 4137
Target Milestone: M5 → M6
Redistributing to M8...
Didn't make M8
Whiteboard: [M10]
Assignee: pollmann → kmcclusk
Status: ASSIGNED → NEW
Component: Form Submission → HTML Form Controls
OS: Windows NT → All
Hardware: PC → All
This test case includes all of the form elements with 50px padding and a dashed green border. Padding and borders are not working on GFX text areas. Padding is broken on GFX checkboxes and radio buttons (Bug 1179) Padding is also funky (though possibly correct) on GFX selects.
Assignee: kmcclusk → buster
Steve, reassigning to you for setting the padding and borders on gfx text areas
Status: NEW → ASSIGNED
Assignee: buster → rods
Status: ASSIGNED → NEW
reassigned to rod. I think he already fixed this for text controls. the bug is for all form elements, so if text controls work I'm off the hook and rod can pass this on to whoever is doing the remaining controls, probably himself or kevin.
Currently all form elements except selects obey border and padding.
select as a combobox obeys border and padding select as a listbox obeys border and padding but when padding is set it stops obey the "size"
*** Bug 13562 has been marked as a duplicate of this bug. ***
Summary: form elements not supporting borders and padding → {css1} form elements not supporting borders and padding
Target Milestone: M11 → M12
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Border and padding are now working for all controls - Fixed
QA Contact: cpratt → chrisd
Status: RESOLVED → VERIFIED
Borders work on all form elements except radio buttons which have problem with dotted and dashed borders. Opened new bug #18993 for that. Otherwise, verifying this bug as fixed.
Keywords: css1
Migrating from {css1} to css1 keyword. The {css1}, {css2}, {css3} and {css-moz} radars should now be considered deprecated in favour of keywords. I am *really* sorry about the spam...
You need to log in before you can comment on or make changes to this bug.