Closed Bug 66829 Opened 24 years ago Closed 22 years ago

Some Mac OS themes result in poor text color contrast in HTML form fields

Categories

(Core :: Layout: Form Controls, defect)

PowerPC
Mac System 9.x
defect
Not set
normal

Tracking

()

VERIFIED WONTFIX
Future

People

(Reporter: bugmail, Assigned: dcone)

References

()

Details

Attachments

(1 file)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Macintosh; N; PPC; en-US; m18) Gecko/20010126 BuildID: 2001012608 If a Mac OS theme is selected that features a light or white text color on a dark background, form fields that display text such as scrolling menu pickers or pop-up menus or input fields display said text in the light or white text color apparently from the Mac OS Theme, rendering it difficult or impossible to read on the white background of the form field. Reproducible: Always Steps to Reproduce: 1. Install a Mac OS theme that is primarily a light or white color text on a dark background. Examples include the old Hi-Tech theme that was distributed by Apple on the Mac OS 8 developer CD (and is shown in the attached screen shot but is difficult to obtain and of which I officially deny posessing) and the IrieMac theme at "http://www.macthemes.org/Themes/IrieMac/IrieMac11.sit". 2. Launch Mozilla 3. Access a page that contains form fields other than buttons, such as the Bugzilla Query page. Actual Results: The form fields such as Status and Resolution show nearly unreadable text as it is displayed in a light, slightly off-white color. Expected Results: The text in those fields should be either dark on light or light on dark. If form colors are going to be inherited from the OS theme, contrast must be maintained. This behavior was not exhibited by Mozilla 0.6, but was by 0.7 and persists as of the daily build specified above.
-> HTML Form Controls
Assignee: trudelle → rods
Status: UNCONFIRMED → NEW
Component: XP Toolkit/Widgets → HTML Form Controls
Ever confirmed: true
QA Contact: jrgm → bsharma
This is likely to be fixed by the fixes to bug 58317 and bug 57209
Depends on: 57209, 58317
reassigning
Assignee: rods → waqar
As the person who implemented mac theme support.... I'd say there's a fair chance that fixing the XBL bugs. But its also possible it won't... I think the Mozilla CSS extension -moz-field might be hardcoded to use white for backgrounds... There are 2 problems here: Currently Mozilla's *HTML* form widgets are just plain weird - they don't play by the same rules as any of the other components. When proper XBL widgets come on line, it may just start working, but the -moz-field thing might screw it up for us. Since I understand what's going on I'm willing to take the bug if you don't want it Waqar. I can't solve the XBL bit but I can sort the colour problem out once that's done.
QA Contact Update
QA Contact: bsharma → vladimire
Target Milestone: --- → Future
It appears that: * -moz-FieldText is getting the color used for menu item text, instead of the color used for text field text; * ButtonText is getting the color used for floating window text (e.g. `You have been disconnected.'), rather than the color used for button text. I would doubt that fixing this would require XBLified form controls, and I hope it would be fixed before then.
based on mpt's comments this might be a CSS related bug. Could someone familiar with CSS system color take a look?
See bug 67448 for some related comments on these colors. (Hopefully I'll have more time to look at this sometime in the future.)
bulk reassigning Waqar's bugs to Don.
Assignee: waqar → dcone
*** Bug 111619 has been marked as a duplicate of this bug. ***
*** Bug 162419 has been marked as a duplicate of this bug. ***
Summary: Mac OS Theme-Related Form Field Text Color Problem → Some Mac OS themes result in poor text color contrast in HTML form fields
Mozilla for Mac OS 9 is no longer supported.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WONTFIX
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: