Closed Bug 129803 Opened 22 years ago Closed 22 years ago

[XBLFC] min-width of buttons is about 9ex (<input type="button"> or <button/>)

Categories

(Core :: Layout: Form Controls, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.2alpha

People

(Reporter: jrgmorrison, Assigned: hyatt)

References

Details

(Whiteboard: [need info])

Attachments

(1 file)

the min-width of '<input type="submit" value="X">' appears to be 
about 9 characters wide (i.e., doesn't size to content below 9 
chars).

[Comments based on testing with 2002030710 trunk build, classic skin, win2k,
XBL Form Controls enabled, unless otherwise noted. madhur: could you test this
on the full matrix (Classic|Modern) X (win32|MacOS9|MacOSX|Linux) and update
this bug with the status on those platform/skin combinations.  Thanks.]
adding nsbeta1. I think we do need to consider each of these for machv if we 
are to do xbl-based form controls.
Keywords: nsbeta1
As a note, it makes sense to never go below about 2 chars in width (that way
there is some padding on buttons if the label is a single character).
OS: Windows 2000 → All
Hardware: PC → All
need to remove min-width in classic button.css
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.0
The patch in 129786 also fixes this.

--> me
Assignee: bryner → hyatt
Status: ASSIGNED → NEW
Fixed.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Reopening. You didn't fix modern, so buttons in modern still look like crap.

Buttons in classic are much better now, modulo bug 130303
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Nav triage team needs info: Are we going to use modern for XBL form controls? 
If not, this should not be needed for MachV.
Whiteboard: [need info]
*** Bug 131840 has been marked as a duplicate of this bug. ***
Re-resolving, since we are not using modern for XBL form controls.
Status: REOPENED → RESOLVED
Closed: 22 years ago22 years ago
Resolution: --- → FIXED
nsbeta1- per Nav triage team, ->1.2 (in case of reopen)
Keywords: nsbeta1nsbeta1-
Target Milestone: mozilla1.0 → mozilla1.2alpha
QA Contact: madhur → tpreston
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: