[Webkit-unassigned] [Bug 19983] DOM event handler onfocus not fired
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu May 21 21:53:37 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=19983
------- Comment #2 from swetha.shadow at gmail.com 2009-05-21 21:53 PDT -------
Hi,
I have been analysing this bug, these are the observation made:
In webkit\webcore\dom\eventtargetnode.cpp file, under
EventTargetNode::handleLocalEvents(Event* event, bool useCapture) method
if (r.eventType() == event->type().....) condition fails since the
r.eventType() is "focus" and
event->type() is "click".
so the condition fails hence we wont get the alert message.
I added event->type()==eventNames().clickEvent ORed with the r.eventType() ==
event->type()in the if statement.
This would solve the problem.
--
Configure bugmail: https://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