Closed Bug 78733 Opened 24 years ago Closed 24 years ago

transparent gif as table-cell background shows black transparency on subsequent page loads

Categories

(Core :: Graphics: ImageLib, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 83726
mozilla1.0

People

(Reporter: pml, Assigned: pavlov)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.8.1+) Gecko/20010430 BuildID: 2001043007 The URL is the testcase. Tables with background transparent gifs render correctly on initial page loading, but the transparent portion of the gif is replaced with black on subsequent page loads, browser window minimizing/restoring and moving other windows over the transparent gif. Reproducible: Always Steps to Reproduce: 1.load up table with transparent gif as background in a cell 2.gif is displayed with correct transparency. 3.Reload page or 4.Minimize and restore browser window or 5.Move any other window over gif Actual Results: Tranparent portion of gif is replaced with black Expected Results: Gif transparency should display correct colour "underneath" This is similar to bug 45578 , but in this case the table background colour _isnt_ set. It is also not a dupe of the many other gif bugs since it only occurs when set as a table cell background.
See also bug 50974, which is the same thing but for transparent-background PNGs rather than GIFs.
Any similarity as Bug 77914?
Yes. It generates the same effect, but only demonstrated when within a table without bgcolor set. This particular gif isnt animated.
Confirming.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Target Milestone: --- → mozilla1.0
*** Bug 81177 has been marked as a duplicate of this bug. ***
Is bug 81305 a dup? jake
jake: no. This bug refers specifically to gifs which are set as <td> backgrounds, not as with bug 81305 which has the image as a <img src> within a table cell. With my testcase, the bug isnt evident if displayed as a <img src> within the <td>
http://justken.net/BandB/Homes/Alcina.html transparency turns black as if it were selected text. to reproduce this effect... The gif here is the burgendy bars in the middle of the page. the first time the page is loaded, the bars load correcty. however, if the text is selected above the bars, and the mouse moved down from left to right, the black background turns the transparency black as if it is selected text. However when the text is deselected the transparent part of the image remains black. the gif is called from a style sheet, is 1 pixel high. the TD image has a height attibute of "75" set in the style sheet. once the bars background has been turned black, all other pages using this same band also display the black background as default. or as noted earlier, on load or resizing. eg. http://justken.net/BandB/Homes/Martyniuk.html BTW - not rendered at all are the images that are supposed to be displayed on this bar. another bug i will report.
Making a dup of bug 83726 (specially created for all the "transparent GIF turns black upon redraw" bugs) *** This bug has been marked as a duplicate of 83726 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Verified Duplicate
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.