Closed Bug 193426 Opened 22 years ago Closed 20 years ago

Button text should not extend into "endcap" widget segment

Categories

(Camino Graveyard :: HTML Form Controls, defect, P4)

PowerPC
macOS
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME
Camino1.0

People

(Reporter: chrisweb, Assigned: sfraser_bugs)

References

()

Details

(Keywords: qawanted, testcase)

Attachments

(2 files)

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.0.1) Gecko/20030211 Chimera/0.6+ Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.0.1) Gecko/20030211 Chimera/0.6+ Sometimes the width of submit buttons are smaller than the height. This leads to an unpolished appearance that can be seen in just about any submit button labeled "Go". For example http://www.pubmed.gov/ The "Go" button at the top center should not be Taller than it is Wide. Reproducible: Always Steps to Reproduce: 1.Go to a form with a submit button labelled "Go" 2.Look at Go Button. 3.Notice it is oval, not round. Expected Results: The smallest buttons should have the text presented in a horizontal aqua button, then rounded endcaps should be added. Safari and Omniweb render this type of button correctly. Not sure if this is a dupe of bug #188252, "make button widgets smaller by default". It seems like it should be separate as this shows a problem in how buttons are created. I would propose that submit buttons consist of three parts. EndCap-Center-EndCap Text should only be presented in the "Center" region.
Attached patch patchSplinter Review
Standard Aqua buttons should always be "pill-shaped", not round or even oval-shaped.
I think he's probably right. For example, see the "About This Mac" dialog's "More Info..." button.
Severity: normal → trivial
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Form control submit button needs minimum width. → Button text should not extend into "endcap" widget segment
Keywords: testcase
Making this change would also enable the buttons to be shorter by default. They're perhaps a bit tall now.
Aqua has two relevant kinds of buttons: push buttons and bevel buttons. Push buttons only contain text and are always pill-shaped whereas bevel buttons are rectangular, can contain content such as icons, and can have any dimensions. I think that since <button> elements meet the latter criteria, they really should be bevel buttons anyway. So, I think this discussion should be confined to <input> elements.
This has been fixed by the new form controls patch.
*** Bug 199797 has been marked as a duplicate of this bug. ***
This needs to be duped per comment 7.
Keywords: qawanted
Whiteboard: DUPEME
Ari is this issue/bug fixed or do we want to keep this bug open to discuss the issues mentioned in Comment #6 ?
We need to style <button> too.
Assignee: bryner → sfraser_bugs
Priority: -- → P4
Target Milestone: --- → Camino1.0
(In reply to comment #11) > We need to style <button> too. Stuart was doing some <button> stuff in bug 205136 but things got all tangled, it looks like. This bug, as described in the summary and comment 0 (and the testcase in comment 4) is FIXED, as noted in comment 7. Should styling <button> move to bug 205136 or get a new bug (so we can close this one)?
Styling <button>s is now covered by bug 309556. Closing per comment 12.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: