New issue
Advanced search Search tips

Issue 875184 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocking:
issue 892513



Sign in to add a comment

InputMethodController::TextInputInfo() should call TextIterator once

Project Member Reported by yosin@chromium.org, Aug 17

Issue description

Current implementation of InputMethodController::TextInputInfo() calls TextIterator for root editable element three times:
 1. PlainText()
 2. Map DOM position to text offset for selection
 3. Map DOM position to text offset for composition
It is better to call one to compute all of them.



 
See also issue 875155
Blocking: 892513
Labels: Performance-Responsiveness

Sign in to add a comment