Closed Bug 1213587 Opened 9 years ago Closed 9 years ago

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

Categories

(Core :: Layout, defect)

defect
Not set
trivial

Tracking

()

RESOLVED FIXED
mozilla45
Tracking Status
firefox45 --- fixed

People

(Reporter: nipp2222, Assigned: dbaron)

Details

Attachments

(1 file)

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.
Severity: normal → trivial
Status: UNCONFIRMED → NEW
Component: Untriaged → Layout
Ever confirmed: true
Product: Firefox → Core
Summary: The XML error page has a yellow background → The XML error page has a yellow background but does not specify foreground color
Assignee: nobody → dbaron
Attachment #8691020 - Flags: review?(quanxunzhen) → review+
https://hg.mozilla.org/mozilla-central/rev/fbe817b7d365
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: