Open
Bug 876606
Opened 12 years ago
Updated 3 years ago
image.complete is true with incorrect filepath
Categories
(Core :: Graphics: ImageLib, defect)
Tracking
()
NEW
People
(Reporter: robert, Unassigned)
Details
When using an image element with a bogus src, the image.complete property is still true. Expecting false.
Comment 1•12 years ago
|
||
This is a dup, and IIRC because imagelib is lacking some functionality DOM would need.
![]() |
||
Comment 2•12 years ago
|
||
That's correct. Imagelib does not expose enough information for us to tell whether the image is actually complete or not, so the DOM code has to guess.
Component: DOM → ImageLib
Comment 3•12 years ago
|
||
On the web side, webdevs can infer an error by checking img.naturalWidth == 0. Could it be a way to fix this in Gecko?
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•