Closed Bug 307833 Opened 19 years ago Closed 19 years ago

Incorrect rendering of blank image with colored background

Categories

(Core Graveyard :: Image: Painting, defect)

1.8 Branch
x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: moz.n1, Assigned: pavlov)

References

()

Details

(Keywords: regression, testcase)

Attachments

(3 files)

At the url above, the score histogram is displayed using img src="" and with a
background color. On IE6 and Fx1.0.5, it renders correctly.

On Firefox 1.5Beta1, it renders incorrectly

Attaching screenshots with page source
Attached image Screenshot with firefox 1.5 beta 1 (deleted) —
Attaching screenshot with firefox 1.5 beta 1
Note the "-" on each part of the score histogram.
Attached image Screenshot with IE6 (deleted) —
Attaching screenshot with IE6.. it looked similar with firefox 1.0.5 before I
upgraded to 1.5 beta 1
Seems hardware dependant at best. Half of nightly build testers on WinXP repro'd
it, and half didnt. See:
http://forums.mozillazine.org/viewtopic.php?t=315571&start=60
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20050909
Firefox/1.6a1 ID:2005090921

Looks good in trunk, not in branch.
Attached file testcase (deleted) —
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b4) Gecko/20050908
Firefox/1.4 ID:2005090806

Confirmed

<img src="" > uses broken image i/o of no image
Oh well, forget what I said. It seems to depend on a pref that is absent by
default: user_pref("browser.display.show_image_placeholders", false);
I suspect what you see is in fact a little placeholder.
I see nothing in the HTML specifcation saying that <img src=""> is supposed to
not try to display an image.
I would think the spec does not say anything about img src = "" case, it would
probably fall within the cracks. However, given that IE and Fx1.0 render it as
expected, and some websites use it, it should make sense to have Fx1.5 do the same.

Nominating for beta 2 (1.8b5)
Flags: blocking1.8b5?
Keywords: regression
This was a purposeful change.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
(bug 204386)
Flags: blocking1.8b5?
verifying.. after reading 204386, IE6 displays a broken icon too, just that
their broken icon is different and the website in question got lucky with their
coding.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: