DescriptionEmit object replacement char to IME
Currently Clank could only delete (with the backspace key) nodes that are
visible to the android IME, and since a replaced element, e.g. <img>, is not
visible to the IME, thus it could not be easily deleted using the backspace key.
Another side effect is that if two text nodes are separated by an image element
alone, then they appear as a single composition to the IME.
To fix these issues, this CL exposes a replaced element as a single object
replacement char 0xFFFC to InputMethodController. For more details please refer
to the atatched bug.
BUG=311448
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175819
Patch Set 1 : #
Total comments: 2
Patch Set 2 : only emit replacement char with InputMethodController #
Total comments: 2
Patch Set 3 : add unit test #
Total comments: 9
Patch Set 4 : yuta's comments addressed #
Messages
Total messages: 25 (0 generated)
|