DescriptionCursor does not blink on longpress in an emptyField.
When we long press on any input field containing any text,
sendContextMenuEventForGesture gets called and context menu is displayed
providing us the options to cut, copy, paste etc.
But when we long press on any empty field, the caret blinking gets suspended and
even after typing some text, the cursor remains in suspended state and unless we
tap on the input field, it's not set back to false. So, in case of longpress
scenario, it was never set back to false and due to this cursor does not blink
for any operations which is done after longpress. So, we handle the case now and
setCaretBlinkingSuspended to false when context menu event is sent.
BUG=386331
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178735
Patch Set 1 : Initial Patch #
Total comments: 2
Patch Set 2 : Correction in comment: s/mourse/caret #Patch Set 3 : Unit Test case added #Patch Set 4 : Fix Test Case build error #Patch Set 5 : Rebase #
Messages
Total messages: 19 (0 generated)
|