Closed
Bug 213747
Opened 22 years ago
Closed 18 years ago
css background-image doesn't work reliably for chrome
Categories
(Core Graveyard :: GFX: Gtk, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: mjh-bugs-mozilla-20060801, Assigned: blizzard)
References
Details
(Keywords: helpwanted, qawanted)
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.1; Linux)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030708
The background-image tag does not seem to work for buttons under gtk. The same
chrome code works fine using xlib.
Reproducible: Always
Steps to Reproduce:
1. Chrome contains:
stylesheet:
.VKey {
background-image: url("chrome://kiosk/content/images/keybutt.jpg");
}
chrome:
<hbox pack="end">
<button id="a" class="Vkey" label="A" oncommand="do_input()"/>
</hbox>
Image exists in the appropriate jar file.
2. load the chrome.
Actual Results:
Using mozilla compiled to use xlib, the button appears with the background graphic
and the text label.
Using mozilla compiled to use gtk, the button appears with just the text label. (both
self compiled code and the 1.4 official release).
Expected Results:
Displayed the background graphic.
Entire chrome available on request.
Comment 1•22 years ago
|
||
Is this in the classic theme? That is, does the button have a -moz-appearance
set on it?
Reporter | ||
Comment 2•22 years ago
|
||
It is.
Comment 3•22 years ago
|
||
Sounds like a moz-appearance bug, then... Do you see the problem in other themes
(eg Modern)?
Reporter | ||
Comment 4•22 years ago
|
||
It doesn't occur with Modern.
Reporter | ||
Comment 5•21 years ago
|
||
> Sounds like a moz-appearance bug, then...
It seems to be. I tried removing the -moz-appearance: line from
skin/classic/global/button.css, and everything works. (I don't know if that
breaks anything else, but I haven't found anything that looks incorrect).
Updated•21 years ago
|
Keywords: helpwanted,
qawanted
Comment 6•21 years ago
|
||
This would probably get fixed automatically by bug 241070
Depends on: 241070
Comment 7•20 years ago
|
||
bug 241070 is fixed. is this also fixed?
Comment 8•18 years ago
|
||
Please REOPEN if this still occurs in a recent trunk build.
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/
-> WORKSFORME
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
Updated•16 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•