Closed Bug 326672 Opened 19 years ago Closed 18 years ago

When loading an image, the unloaded part of it is black

Categories

(Core :: Graphics, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: martijn.martijn, Assigned: vlad)

References

()

Details

(Keywords: testcase)

Attachments

(1 file)

See url image.
When loading that image, the unloaded part of it is black in Cairo builds, in regular builds this is transparent (and it should be transparent).
OS: Windows XP → All
Seem bug for all Jpg,gif image in 20060227 1.6a1 nightly
Seem bug for all Jpg,gif image in 20060227 1.6a1 nightly
The bug is also in the 2006031004 nightly build as well.

It also seems that some images appear as gray/black blocks in the tab favicon area.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060310 Firefox/1.6a1 - Build ID: 2006031004
This uses the mDecoded region to clip when drawing in nsThebesImage::Draw.  This doesn't handle the DrawTile case, because that's much harder (the clipped region becomes much more complex).
Assignee: nobody → vladimir
Status: NEW → ASSIGNED
Attachment #220453 - Flags: review?
Attachment #220453 - Flags: review? → review?(pavlov)
Attachment #220453 - Flags: review?(pavlov) → review+
this patch caused a regression of partly displaying images / favicons, or not displaying them at all ,both on webpages as in browser/addons manager / places / bookmarks,
Yes, the scaled case is bug 336236; not sure why this is failing, but I'm on it.
should be fixed
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: