[Webkit-unassigned] [Bug 9582] img.onload event ONLY fires when .src changes

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Tue Jul 4 09:48:07 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=9582





------- Comment #4 from jschrab at malicstower.org  2006-07-04 09:48 PDT -------
I would like to make motion that it should be "(d) when it has been rendered." 
While it may seem selfish for me to say so, my real-world need that lead to the
discovery of this bug/quirk was in an effort to implement some DHTML cross-fade
effects.  I wanted to make sure that my opacity=0 image was loaded before my
transition began.

It would seem to me that the usefulness of .onload, particularly for images, is
to be notified that an image is ready-to-go.  And ready-to-go, I would say,
means rendered.  Of course my case here is for a transparent image (via opacity
style) or otherwise not visible image may lead to a fine point of "what do you
mean by 'rendered'?"


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list