[Webkit-unassigned] [Bug 8111] REGRESSION (NativeTextField): first click in form field on weather.com leaves focus but no caret

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sat Apr 1 00:07:27 PST 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=8111





------- Comment #3 from darin at apple.com  2006-04-01 00:07 PDT -------
The cause of this is simple: The mouse event comes in and hit tests and gets an
inner node, the text node inside the text field's div. Then, the script on the
text field removes all the text, which makes that node get removed from the
text field's div. Finally, we end up in Frame::handleMousePressEventSingleClick
and we bail out because innerNode->renderer() is 0.

However, it's not clear to me what the right fix is. Maybe we need to do a new
hit test after processing the focus change?


-- 
Configure bugmail: http://bugzilla.opendarwin.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