Closed Bug 12109 Opened 25 years ago Closed 25 years ago

"background-repeat: no-repeat" messes up transparency

Categories

(Core :: Layout, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: alexo, Assigned: troy)

References

Details

Attachments

(4 files)

In the following page, the TD element has a style tag which sets "background-image" to a specific GIF. This GIF contains transparency. The BODY tag also has a background image. Normally, the BODY background appears through the transparent portions of the TD background. However, if the "background-repeat" CSS attribute of the TD is set to "no-repeat", then the transparent portions of "AntiqueButton.GIF" appear as just plain white. So this page appears differently on Navigator 4.0 and my Mozilla M8 build. <html> <head> <title>Bugzilla Sample</title> </head> <body text="#FFFFFF" background="AntiqueBackground.GIF"> <table> <tr> <td width="80" height="50" style="background-image:url(AntiqueButton.GIF); background-repeat:no-repeat">Text </td> </tr> </table> </body> </html>
Attached image The button image from the sample page. (deleted) —
I see an attachment for the button image (I assume that is AntiqueButton.GIF), but what about the background image (AntiqueBackground.GIF)?
Status: NEW → ASSIGNED
David, thanks for the even simpler test case that shows it's not related to tables.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Fixed. The problem was we were always rendering the background color if there was a background image that wasn't tiled to cover the entire frame bounds
Status: RESOLVED → VERIFIED
With the Windows Aug 26th build , the problem is fixed.
Status: VERIFIED → REOPENED
Status: REOPENED → ASSIGNED
Why was this bug reopened? The QA contact confirmed it's been fixed...
Resolution: FIXED → ---
Status: ASSIGNED → RESOLVED
Closed: 25 years ago25 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
I don't why this was reopened either. With the Sept 2nd Build (1999090208), the problem is fixed.
*** Bug 15349 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: