Closed Bug 112183 Opened 23 years ago Closed 23 years ago

Image change thru Javascript should show the broken icon when not existing

Categories

(Core :: Layout: Images, Video, and HTML Frames, defect)

x86
Windows NT
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 148199
mozilla1.1beta

People

(Reporter: boullet.marc, Assigned: pavlov)

References

Details

Attachments

(1 file)

BuildID 2001112508 NT4 When changing the image source via JS, if the new image is broken (not existing in the test case), Mozilla stays with the old image without any notification. This can be very dangerous if the new image is intended to have very few modifications versus the old one. The user can be mistaken. At least, the image area should be made empty (transparent 1x1) or better, the broken icon should be displayed (as it is the case when the image is declared within the body tag).In any case, the old image should be removed. Will attach a simple test case.
Attached file simple test case
CCing attinasi since he recently works on the broken icon .....
marc?
I know there have been changes in this area lately but I'm seeing a broken icon with Win XP build 2001120303
Terri, Are you really seeing a broken icon replacing the mozilla banner after you've clicked the alert box ? For the moment I'm stuck with my "old" 2001120108 build waiting for a new build that works. So it is still not working for me.
Okay, maybe I've got it wrong, I see a broken icon next to the banner
This bug is still there with 2002030604 Marking NEW
Status: UNCONFIRMED → NEW
Ever confirmed: true
Component: ImageLib → Image: Layout
Blocks: 61480
Target Milestone: --- → mozilla1.1beta
*** This bug has been marked as a duplicate of 148199 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: