Open
Bug 623719
Opened 14 years ago
Updated 2 years ago
dynamically added image pointing to non-existent file:// does not display alternate text
Categories
(Core :: DOM: Core & HTML, defect, P5)
Tracking
()
NEW
People
(Reporter: arno, Unassigned)
References
Details
Attachments
(1 file)
788 bytes,
text/html
|
Details |
Hi, I've created an image with document.createElement("img"); then I've defined src and alt attributes. src points to a non existent file. When adding image to the document, alternate text is not displayed. It works correctly in ie7 and opera. when modifying innerHTML of image parent element, alternate text is then displayed.
Reporter | ||
Comment 1•14 years ago
|
||
After opening the bug, I discovered the bug does not appear. Actually, problem only happens with local file. Saving the file to the disk, and opening it from there should trigger the bug. So, this is less annoying (but still annoying for web development)
Comment 2•14 years ago
|
||
If you're doing web development against file://, you're doing it wrong, since so many things work different for file:// and http://.... especially in a world with CORS.
Depends on: 282432
Comment 3•14 years ago
|
||
That said, we should consider fixing this independently of bug 282432, as we fixed bug 269125. Ms2ger, are you interested?
Updated•14 years ago
|
Summary: dynamically added broken image does not display alternate text → dynamically added image pointing to non-existent file:// does not display alternate text
Comment 4•14 years ago
|
||
If this is only a problem for file: URLs, not really.
Comment 5•6 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•