Closed Bug 42129 Opened 25 years ago Closed 24 years ago

[BTN]extra padding in buttons

Categories

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

x86
Linux
defect

Tracking

()

RESOLVED INVALID
Future

People

(Reporter: xalkina, Assigned: rods)

References

()

Details

Attachments

(5 files)

in the attached page there are four submit buttons. the ones left and right are rendered without any spacing, the two in the middle are enlarged. I suppose mozilla tries to fit them to the paragraph text above them, but does not use spacing in all of them linux/2000060908
Attached file testcase
Attached image What I see on 061320
Made an attachment of what it looks like here. Looks OK to me... submitter, can you confirm if you're seeing this or something different? a screenshot would be helpful.
Doesn't look ok to me, though it's rendered better on my box. Your image has space below the text of the button to the frame of the button. What I mean is: buttons in the middle get more space to the left & right than the ones left & right. Screenshot? Oh, have to find out how to make one on linux!!! I'll give it a try right now...
Here you go with a screenshot. This is how it renders on my box. What I think is not right is that the space I indicate with the lines below the buttons is wider for the second & third button.
Attached image results on my machine
setting status to New
Status: UNCONFIRMED → NEW
Ever confirmed: true
Ah, i see it now. the extra padding seems to be caused by the presence of a space in the label; making an extremely small testcase.
Assignee: clayton → pierre
Pierre, please triage these from Clayton's list.
The problem affects all the buttons, not just the submit buttons. The padding is proportional to the button name, not to the number of spaces inside the button, and it happens regardless of the font family and font size. See the testcase that I'm going to attach. The explanation doesn't seem to be anywhere in html.css. Reassigned to HTML Form Controls.
Assignee: pierre → rods
Component: Layout → HTML Form Controls
QA Contact: petersen → ckritzer
Summary: submit buttons rendered differently → extra padding in buttons
In NavQuirks mode (the default mode) buttons will size to 1.5 times the width of their text. In strict/standard mode they will size the width of the text plus border and padding. So, in NavQuirks, the longer the text the more padding you get. Is there still a bug here? If so, plus state again what exactly is wrong. Marking as "Future" for now. This bug has been marked "future" because the original netscape engineer working on this is over-burdened. If you feel this is an error, that you or another known resource will be working on this bug,or if it blocks your work in some way -- please attach your concern to the bug for reconsideration.
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Updating QA contact.
QA Contact: ckritzer → bsharma
Summary: extra padding in buttons → [BTN]extra padding in buttons
I think this is working correctly. marking invalid
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: