The XML error page has a yellow background but does not specify foreground color

RESOLVED FIXED in Firefox 45

Status

()

--
trivial
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: nipp2222, Assigned: dbaron)

Tracking

unspecified
mozilla45
Points:
---

Firefox Tracking Flags

(firefox45 fixed)

Details

Attachments

(1 attachment)

(Reporter)

Description

3 years ago
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:41.0) Gecko/20100101 SeaMonkey/2.38
Build ID: 20150923193515

Steps to reproduce:

1) in Options, Content, Fonts & Colors, Colors (or in SeaMonkey: Preferences, Appearance, Colors), change the foreground color to white and the background color to white. Also uncheck the "Use system colors" checkbox.

2) load a badly formatted XHTML file, or type this into the location bar:
data:text/xml,%3C


Actual results:

The error page that appears has the user's chosen foreground color for the text (white) but it has a light yellow background, which makes the text unreadable.


Expected results:

The error page should either
- have black hardcoded for a foreground color (or something that contrasts with light yellow)
- or respect both foreground and background from the user's preferences, in this case white on black.
(Reporter)

Updated

3 years ago
Severity: normal → trivial

Updated

3 years ago
Status: UNCONFIRMED → NEW
Component: Untriaged → Layout
Ever confirmed: true
Product: Firefox → Core
(Assignee)

Updated

3 years ago
Summary: The XML error page has a yellow background → The XML error page has a yellow background but does not specify foreground color
(Assignee)

Updated

3 years ago
Assignee: nobody → dbaron
Created attachment 8691020 [details] [diff] [review]
Add foreground color to the background color for XML error pages
Attachment #8691020 - Flags: review?(quanxunzhen)
Attachment #8691020 - Flags: review?(quanxunzhen) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/fbe817b7d36517de4033753e63b53d2260c16b8e
Bug 1213587 - Add foreground color to the background color for XML error pages.  r=xidorn

Comment 4

3 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/fbe817b7d365
Status: NEW → RESOLVED
Last Resolved: 3 years ago
status-firefox45: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
You need to log in before you can comment on or make changes to this bug.