Closed Bug 145097 Opened 23 years ago Closed 23 years ago

.src image attributes do not change images in Mozilla 1.0 RC2

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: chrisw, Assigned: Matti)

Details

Dear Mozilla, Changing the .SRC attribute of a named image does not display the new image.
Do you have a testcase ? wfm on win2k build 20020516 and www.mversen.de
Have you ever changed the setting "Allow web pages to... change images" in the Scripts & Windows preferences?
WFM with 2002070310 trunk on win2k. reporter (Chris): can you reproduce this with a recent build of mozilla? if so, please comment again with details, preferably including some kind of example where it fails. if not, please resolve this bug as WORKSFORME. thanks.
Maybe I can clearify this problem a bit because I found this bug while searching for similar one to my problem document.images[0].src = myimage ==>> works! But if you try to change the image from a different frame, it does NOT work! Assuming you have two frames, frame1 (e.g. with an index of photos) shall change image-object on frame2, it will NOT work! parent.frame2.images[0].src = myimage ==>> DOES NOT WORK! Workaround: parent.frame1.setTimeout('document.images[0].src = "' + myimage + '";', 1); Not really nice, but it works... :-) Chris: did you try to change images across framesets?
Component: Browser-General → DOM Level 0
Chris: Can you please attach a small testcase ?
WFM with 2002090704/trunk/win2k. no response from reporter for >30 days. resolving wfm. reporter: if you can reproduce this with a recent build of mozilla, please reopen this bug. thanks.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.