[Webkit-unassigned] [Bug 40919] beforeload event not sent 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 08:20:56 PDT 2010


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





--- Comment #2 from Adam Roben (aroben) <aroben at apple.com>  2010-06-21 08:20:56 PST ---
The problem is that the <img> element's inDocument() function returns false when the beforeload event is being dispatched. This causes Node::eventAncestors to return 0 ancestors, so the event never gets up to the document.

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