[Webkit-unassigned] [Bug 65663] character appears in contenteditable without onkeydown event being fired
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Aug 10 03:43:39 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=65663
Naiem <naiem.shaik at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |darin at apple.com
--- Comment #5 from Naiem <naiem.shaik at gmail.com> 2011-08-10 03:43:38 PST ---
In the function clearSelectionIfNeeded which is called whenever
focusednode is set, there is a check to see if the node is text or
input tag if it is none then it is not cleared--> pasted below comment
from code
" // Don't clear the selection for contentEditable elements, but do
clear it for input and textarea. See bug 38696."
Since this is a contentEditable the clear is not called on it and
because of which the updateApperance is not called and hence the
cursor blinks and focus is not removed from the div.
I have added the s->clear irrespective of the tag and it fixes the issue.
If some one can comment on why the check for contenteditable is present i will try some other fix.
--
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