[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 08:28:47 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=40919
Adam Roben (aroben) <aroben at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|beforeload event not sent |beforeload event not sent
|for <img src> added to |to document for <img src>
|document using .innerHTML |added to document using
|(affects images.google.com) |.innerHTML (affects
| |images.google.com)
--- Comment #4 from Adam Roben (aroben) <aroben at apple.com> 2010-06-21 08:28:47 PST ---
The beforeload event is sent via a call to ImageLoader::dispatchPendingBeforeLoadEvents() at the end of HTMLDocumentParser::write(). Apparently this is before the <img> has actually been added 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