Closed
Bug 535114
Opened 15 years ago
Closed 15 years ago
Fail to load "partners.png" as background-image
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: juanlao, Unassigned)
Details
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1
When firefox tries to load a background-image called "partners.png" through HTTP, no image is displayed.
Reproducible: Always
Steps to Reproduce:
1. Create new html file with this code:
<html>
<head>
<style>
.we {
background: url('partners.png');
width: 200px;
height: 200px;
}
</style>
</head>
<body>
<div class="we"></div>
</body>
</head>
2. Create PNG image in the same path with the name "partners.png"
3. Open the web page through HTTP. You can see that the image is not displayed.
4. Rename the image 0file to "partners2.png" and replace the CSS code of the HTML file:
background: url('partners2.png');
5. Try to load again the web page. This time, the image is displayed.
Actual Results:
The image is not displayed
Expected Results:
The image should be displayed
Sorry, I've not closed the HTML tag. It was a mistake when I put the code into bugzilla.
However, the bug persists. You can check with this code:
<html>
<head>
<style>
.we {
background: url('partners.png');
width: 200px;
height: 200px;
}
</style>
</head>
<body>
<div class="we"></div>
</body>
</html>
Comment 2•15 years ago
|
||
I am not seeing the issue using a sample png I downloaded http://www.fnordware.com/superpng/pnggrad8rgb.png and renamed to partners.png
Does the issue still occur for you with 3.5.5? (your version is listed as 3.5.1)
Does it only happen with a specific file? If so, can you attach the file.
I have tested with your png and still failing. I'll attach two screenshots with the problem on the bug report.
My Firefox version is 3.5.6 on my house and 3.5.1 on my company. Both fail.
Comment 6•15 years ago
|
||
Does the issue still occur if you start Firefox in Safe Mode? http://support.mozilla.com/en-US/kb/Safe+Mode
How about with a new, empty profile? http://support.mozilla.com/en-US/kb/Managing+profiles?s=profile
Can you try it with a different server (rather than localhost)? Preferably a publicly accessible one so you can share the url
Are you seeing any errors in the error console (Tools -> Error Console)?
Ok, the problem was that I have actived AdBlock Plus.
It wasn't a bug.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•