Closed Bug 498893 Opened 15 years ago Closed 15 years ago

Global.css class "message-icon" points to non-existing image file

Categories

(Toolkit :: Themes, defect)

x86
Windows Vista
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 512173

People

(Reporter: yesperduval, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11 (.NET CLR 3.5.30729)

In Global.css class "message-icon" points to non-existing image file: chrome://global/skin/icons/Message.png
As a result I cannot reuse this class in my extension. Probably the class should point to chrome://global/skin/icons/information-32.png


Reproducible: Always
Status: UNCONFIRMED → NEW
Component: Theme → Themes
Ever confirmed: true
Product: Firefox → Toolkit
QA Contact: theme → themes
How exactly do you want to use the message-icon class?
In my extension I use my own custom XUL message dialog. It contains a stylesheet reference to chrome://global/skin/, and a XUL <image> for which I set the CSS class to "message-icon". This should allow me to reuse the icon of the active theme.

However, the <image> appears empty since the definition for the "message-icon" inside global.css points to a non-existing image:

.message-icon {
  list-style-image: url("chrome://global/skin/icons/Message.png");
}

Note that the <image> appears perfectly when I use CSS class "error-icon" or "question-icon" or "alert-icon" since global.css points to existing images. Only "message-icon" is faulty.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.