Closed Bug 345579 Opened 19 years ago Closed 18 years ago

updating an img src tag using javascript fails to actually... update the image

Categories

(Firefox :: General, defect)

1.5.0.x Branch
x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: lkcl, Unassigned)

Details

(Whiteboard: CLOSEME 06/27)

Attachments

(2 files)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.3) Gecko/20060326 Firefox/1.5.0.3 (Debian-1.5.dfsg+1.5.0.3-2) Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.3) Gecko/20060326 Firefox/1.5.0.3 (Debian-1.5.dfsg+1.5.0.3-2) there are web sites where i have to use mozilla-1.7.2 because firefox doesn't cope with this issue. imagine that you have a site which contains user profiles, and there is an onclick which activates some javascript to change the img src tag. in mozilla 1.7.2 it works; in firefox, it doesn't. Reproducible: Always Steps to Reproduce: 1) shove attached files into a web server 2) edit popup.html to put in your own favourite images 3) put http://127.0.0.1/wherever/popup.html 4) click on image 5) watch the blank window popup in puzzlement 6) repeat 3 and 4 with mozilla-1.7.2 and go "huh???" Actual Results: popup (it's not a popup, it's walter zorn's DHTML library) doesn't show the image Expected Results: i expect the image to appear.
Attached file main demo file
apologies for not making it explicitly clear where the test/fail cases are: i believed that the info about OS being linux would be sufficient and also the fact that i'm a free software developer and wouldn't be seen dead using windows unless you paid me a lot of money and let me use free software development tools and software, then i'm a whore like everyone else. yes, likewise, the demo code on walter zorn's site also works for me. however, the reported bug has xxxx-all to do with the demo examples on walter zorn's site, and also this is a linux-specific failure. did you try the specific example in the attached demo code, which works on: * firefox on windows * mozilla-1.7.2 on linux and fails on: * firefox on linux (debian/unstable)
if, after clicking on the demo image to make the DHTML-popup occur, i then go right-mouse-button "view image", it even _says_ "spacer.gif" not found. btw i just upgraded to 1.5.0.4 and the problem is now even worse: * walter zorn's DHTML drag-drop capability doesn't work * when the popup first appears it looks ok (other than it's blank) but when you right-click in it it looks like you're accessing the div below not the image * when you try to drag-drop it fails and then after you let go of the mouse the DHTML-popup "updates" - and one of those "image not present" icons appear - which wasn't there before-hand. this is very bizarre behaviour.
Reporter, do you still see this problem with the latest Firefox 2? If not, can you please close this bug as WORKSFORME. Thanks!
Whiteboard: CLOSEME 06/27
Version: unspecified → 1.5.0.x Branch
Making a testcase from the attached files works for me using Firefox 2.0.0.11 and Firefox trunk 2007122604 on Linux. -> WORKSFORME
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: