[Webkit-unassigned] [Bug 40919] beforeload event not sent to document for <img src> added to document using .innerHTML (affects images.google.com)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 21 12:40:59 PDT 2010


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





--- Comment #5 from Dave Hyatt <hyatt at apple.com>  2010-06-21 12:40:59 PST ---
Technically this is correct behavior.  We need to figure out what we're going to do with the loads that happen on DOM elements that aren't in the document yet.  I suspect we may need to do something funky like allow bubbling/capturing from the root of the unattached tree up to the document.

No other event behaves like this, but I can't think of a better way.  All loads need to be easily observable from a single listener, even ones that occur on elements that aren't in the document yet.

-- 
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