[Webkit-unassigned] [Bug 16447] onload called too many times for <svg:image>
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Apr 6 04:05:45 PDT 2008
http://bugs.webkit.org/show_bug.cgi?id=16447
------- Comment #2 from rwlbuis at gmail.com 2008-04-06 04:05 PDT -------
Created an attachment (id=20363)
--> (http://bugs.webkit.org/attachment.cgi?id=20363&action=view)
First attempt
There were two problems here. First, that load was dispatched both when image
was loaded and tag was closed. Second, that image load was dispatched to
parents too, while the spec says:
A SVGLoad event is dispatched only to the element to which the event applies;
it is not dispatched to its ancestors.
This patch fixes that. The testcase works, just not sure if external image is
allowed, can change it to use a local image if needed.
Cheers,
Rob.
--
Configure bugmail: http://bugs.webkit.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