Closed
Bug 177304
Opened 23 years ago
Closed 23 years ago
document.images[#].src = imageObject.src has no effect.
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 176926
People
(Reporter: mikol, Assigned: rogerl)
Details
Attachments
(1 file)
12.59 KB,
application/gzip
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2b) Gecko/20021029
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2b) Gecko/20021029
I'm surprised that I can't find another report about this problem. But since I
can't, I am filing this one.
Using a statement such as `document.images[0].src = imageObject.src;` to change
an image's src does not have any visible effect, and does not appear to change
the src property of the specified image element (i.e., the image element reports
the same src property before and after the swap).
Reproducible: Always
Steps to Reproduce:
1. Open index.html from the attached test case.
2. Mouse over the image. The image's colors should invert.
3. Mouse out of the image. The original image should be restored.
Actual Results:
The image is unchanged (as it does, for example, in Mozilla 1.1).
Expected Results:
The image's colors should invert.
I made sure that my Scripts & Plugins prefs allowed "Change images".
Oops. That should be:
Actual Results:
The image is unchanged.
Expected Results:
The image's colors should invert (as it does, for example, in Mozilla 1.1).
Comment 3•23 years ago
|
||
Related to / duplicate of bug 176926 ?
(Sorry, you have to check yourself if that is right)
Yes. Judging by the other bugs that have been marked duplicates of 176926, this
one is as well.
*** This bug has been marked as a duplicate of 176926 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•