Closed Bug 249680 Opened 21 years ago Closed 21 years ago

Location bar text not visible with yellow background for secure sites

Categories

(Firefox :: Address Bar, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: greenreaper, Assigned: bugs)

References

()

Details

(Keywords: access, fixed-aviary1.0)

Attachments

(2 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a2) Gecko/20040702 Firefox/0.8.0+ (BlueFyre) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a2) Gecko/20040702 Firefox/0.8.0+ (BlueFyre) The recently-added yellow background for the location bar when a secure site is accessed does not take into account the system's theme colours. WindowBlinds themes Blackcomb Dark and Furcadia (in development) do not use black, or even dark button or window text. The yellow background assumes this and thus causes the URL to become unreadable. Reproducible: Always Steps to Reproduce: 1. Load a theme that includes light-coloured text 2. Load a site in Firefox that is secure 3. . . . there's no step 3 Actual Results: The background was applied without regard to the system (and previous) background colours, and without considering the fact that text may not be dark. This resulted in unreadable URL text. Expected Results: This should be handled in a way that works with all themes. In general, if you are going to force a non-themed background colour, you should force a non-themed foreground as well. Perhaps it could change the foreground text to be black, or use the selected foreground and background colours when on a secure site and switch back to non-selected colours when selecting text. Using latest BlueFyre build from burning edge forums, latest versions of WindowBlinds available, with skins Blackcomb Dark and Furcadia (latter is in development and currently uses yellow text)
Blocks: 223959
I knew it, I knew something like this was going to happen. Whenever we hardcode colours we create problems.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Blocks: 244025
Each default theme should include a text color (black) to go with the background color it specifies (yellow).
Flags: blocking-aviary1.0?
Keywords: access
Takes Jesse's suggestion, which is an easy solution. This fixes Winstripe, and should fix Gnomestripe b/c there's no gnomestripe version of browser.css Unfortunately, the urlbar change is not landed in Pinstripe yet. Read more about that at bug 244025. I'll post a comment there so hopefully they integrate this with the landing.
Sorry, correction. Until bug 248419 (block 244025) is fixed we can't know what's up with Linux.
Attachment #154924 - Flags: review?(mconnor)
Comment on attachment 154924 [details] [diff] [review] one liner: set a color when background-color is set this'll do the trick
Attachment #154924 - Flags: review?(mconnor) → review+
Comment on attachment 154924 [details] [diff] [review] one liner: set a color when background-color is set Requesting approval. This bug should probably remain open until we can confirm gnomestripe is fixed. Pinstripe already encorporated this with a seperate checkin.
Attachment #154924 - Flags: approval-aviary?
Comment on attachment 154924 [details] [diff] [review] one liner: set a color when background-color is set a=ben@mozilla.org
Attachment #154924 - Flags: approval-aviary? → approval-aviary+
I checked in Quark's patch, trunk and aviary.
Flags: blocking-aviary1.0?
Keywords: fixed-aviary1.0
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
No longer blocks: 223959
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: