[Webkit-unassigned] [Bug 76102] Add support for loadstart, progress, and loadend ProgressEvents to the IMG tag.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 13 15:32:32 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=76102





--- Comment #6 from Hans Muller <giles_joplin at yahoo.com>  2012-02-13 15:32:32 PST ---
(In reply to comment #5)
If only one image error/load listener is used and you're defining it yourself then I agree that  there's definitely not much value in having a loadend event.  If other code contributes image listeners, then there is value.  For example:

function notMyShowImageFunction(image, url)
{
    image.onload = doSomethingAtLoadTime;
    image.src = url;
}

image.onloadend = doThisAfterAllLoadListenersHaveRun;
notMyShowImageFunction(image, "...");

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list