Closed Bug 80596 Opened 24 years ago Closed 23 years ago

HTML Buttons should use sans-serif fonts

Categories

(Core :: Layout: Form Controls, enhancement)

x86
Linux
enhancement
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 53617
Future

People

(Reporter: spark, Assigned: rods)

Details

Attachments

(2 files)

I think I finally found out, why Mozilla's HTML Buttons always make a cheap impression to me. I recently found a site, which had really neat looking buttons. I found out that the only difference was, that they used sans-serif fonts. Mozilla HTML buttons always use serif fonts, even if sans-serif is set as default font-type. I vote for this to be changed. Even Mozilla themes theirself almost always use sans-serif fonts (and so does every other widgetset I know about), so why don't HTML forms? I'm not sure if this is the same on all OS, so I leave "Linux" in the OS field.
HTML buttons use system fonts; whatever the system's default for buttons is gets applied, for consistency. (In Win32 this happens to be sans-serif; I guess Linux is serif.) From forms.css: /* buttons */ button, input[type="reset"], input[type="button"], input[type="submit"] { ... font: button; ... } (although "button" isn't a system font defined in the CSS2 spec...)
Then this should probaly changed to another systemfont? My Gtk Theme definatly uses a sans-serif font (and every Gtk button is sans-serif), but Mozilla shows them as serif. Not good. In fact I don't know of any Linux application/toolkit with serif fonts on buttons.
Uh... "Then this should probably be changed". It's late.
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Target Milestone: --- → Future
Why is this marked as future? I don't think, setting the default font for Buttons should be very difficult (even if it's a dirty hack) but it would improve the look sooo much. Please retarget it for 1.0 if somehow possible. Well, this may be kinda offtopic, but I just came up with a possible interesting idea. A paypal account for Mozilla. Registered users could be able to set "rewards" for bugs in form of money. For example I could say "I'll donate 5 bucks (I know that's not much, just an example) as soon as this bug is solved". I would like that. :) The successfull bughunter should get the money. Sorry for abusing this as a suggestion forum...
This is not a critical bug and at the moment I am completely buried and don't have time to even look at this enhancement. Feel free come up with a patch and I will review it and try to get it checked in. (Personally, I would rather pay folks to fix bugs than find them)
I'm using 0.9.3 on Linux, with the font set to sans-serif, but the buttons and widgets such as drop-down lists appear in a serif font...
*** This bug has been marked as a duplicate of 53617 ***
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
verifying
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: