Closed
Bug 94933
Opened 24 years ago
Closed 24 years ago
background image not found: background opaque, not transparent
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
People
(Reporter: jrgmorrison, Assigned: pavlov)
References
()
Details
(Keywords: testcase)
Attachments
(3 files)
849 bytes,
text/html
|
Details | |
1.08 KB,
text/html
|
Details | |
1.76 KB,
patch
|
Details | Diff | Splinter Review |
Overview Description:
Broken out from bug 91034:
If a table background image does not exist (e.g., 404 Not Found),
on win32, the table be transparent, while on Mac and Linux it
will be solid white and will not show layers below.
Steps to Reproduce:
1) load the attachment: yellow or white table?
Actual Results: win32: yellow; mac/linux: white
Expected Results: I think win32 is correct, and is consistent
with Nav4.x
Starting with imagelib, but this may be at a lower level (e.g. GFX).
Reporter | ||
Comment 1•24 years ago
|
||
I should note that the original URL that showed this bug,
http://www.clsc-mercier-est-anjou.qc.ca/, was intentionally
serving a 404 URL to take advantage of a Nav4.x quirk (or at
least I think that is the case since the image in question was
called "background-nsfix.gif").
testcase in a moment...
Reporter | ||
Comment 2•24 years ago
|
||
Reporter | ||
Comment 3•24 years ago
|
||
Okay, so this is the same bug that horks http://www.blizzard.com/ on the Mac
and Linux --- blizzard has 53 TD with 'background=0' which is 404, which
makes the TD opaque white for underlying content on Mac and Linux (but not
win32, where it remains transparent).
Keywords: nsBranch
Reporter | ||
Updated•24 years ago
|
Summary: table background image not found: win32==transparent; mac/linux=="white" → table background image not found: mac/linux=="white"; win32==transparent;
Assignee | ||
Comment 4•24 years ago
|
||
this is really layout, but i'll keep the bug since i need to fix it.
Component: ImageLib → Layout
Comment 5•24 years ago
|
||
Hmm, did this break 10th of Aug?
Build 2001-08-09-04 on Windows 98 SE shows a white table background.
(is it different on other win32:s?)
Keywords: testcase
Reporter | ||
Comment 6•24 years ago
|
||
Hmm, my bad. I was sure I was using 8/10 builds on mac/linux/win32 when I was
testing for this, but obviously I had an older build on win32.
Yes, in builds from 8/10 on, this is white/opaque on all three platforms
(whereas it was transparent previously).
Summary: table background image not found: mac/linux=="white"; win32==transparent; → table background image not found: background opaque, not transparent
i'm just coming from bug 91034, and the bug reported here is not specific to
table backgrounds, every kind of background image is affected on mac. i am not
allowed to change this bugs title, someone should remove the word table from the
title of this bug.
any background image will be white before it is loaded, not transparent -
resulting in a very ugly page until the backgrounds are loaded. if it can't be
loaded, the are will stay white.
it should be transparent before the image is loaded, and it should still be
transparent when the background image could not be found / loaded / used and
there is no defined background color.
for example: i have a page with dark background color, dark background images,
and white gray text in divs. you can't read the text unless the background image
is loaded, because the area below the text is white. you can't define a
background color for the div, because then you could not see the background
images through the div.
this problem does not exist in other browsers and earlier mozillas.
btw, transparent background gifs work just as supposed, they are displayed
transparent and not white. the bug shows only before the image is loaded.
Comment 10•24 years ago
|
||
Confirming what Alex found, and removing 'table' from the title.
Summary: table background image not found: background opaque, not transparent → background image not found: background opaque, not transparent
Comment 11•24 years ago
|
||
Assignee | ||
Comment 12•24 years ago
|
||
Got a fix
Assignee | ||
Comment 13•24 years ago
|
||
Comment 14•24 years ago
|
||
sr=hyatt, but please file a bug to track the #ifdef XP_WIN hack. We should
really understand why this is a problem only on Win32.
Assignee | ||
Comment 15•24 years ago
|
||
filed bug 95332
Comment 16•24 years ago
|
||
What hyatt said, r=jst
Assignee | ||
Comment 17•24 years ago
|
||
fixed
Assignee | ||
Comment 18•24 years ago
|
||
fixed
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•