Bug 15990 - Wrong background color for GIF
Summary: Wrong background color for GIF
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Images (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2007-11-14 14:21 PST by Peter Kasting
Modified: 2007-12-10 06:35 PST (History)
1 user (show)

See Also:


Attachments
Test image (475 bytes, image/gif)
2007-11-14 14:21 PST, Peter Kasting
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Kasting 2007-11-14 14:21:20 PST
Safari differs from Firefox and IE in how it displays the GIF I'll attach momentarily.  In Firefox/IE, the image has a transparent background, with a blue fill/red stroke square moving in the middle.  In Safari, the entire background is red.  I haven't checked, but I suspect the GIF has red as color 0 in its palette, and Safari is decoding anything that should be "background color" as color 0, while Firefox/IE decode that as "transparent".
Comment 1 Peter Kasting 2007-11-14 14:21:42 PST
Created attachment 17277 [details]
Test image

Here's the GIF in question.
Comment 2 Alexey Proskuryakov 2007-11-14 22:24:36 PST
Same results on Mac (Tiger), which would be an OS bug if reproducible on Leopard.
Comment 3 Mark Rowe (bdash) 2007-11-15 04:10:43 PST
This appears to behave differently in Leopard than was described for Tiger.  Image decoding is not handled by WebKit so I suspect that this bug belongs in Radar instead.
Comment 4 Mark Rowe (bdash) 2007-11-15 04:11:19 PST
<rdar://problem/5601999>