[Webkit-unassigned] [Bug 128953] New: TextFieldInputType::handleBeforeTextInsertedEvent shouldn't use plainText
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Feb 17 22:05:12 PST 2014
https://bugs.webkit.org/show_bug.cgi?id=128953
Summary: TextFieldInputType::handleBeforeTextInsertedEvent
shouldn't use plainText
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Forms
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: rniwa at webkit.org
CC: darin at apple.com, ap at webkit.org, koivisto at iki.fi,
enrica at apple.com, akling at apple.com
Blocks: 127832
Right now TextFieldInputType::handleBeforeTextInsertedEvent uses plainText, which triggers a synchronous layout.
We shouldn't use that. Also, plainText uses render text, etc... to obtain text may collapse some whitespaces
which may or may not affect the result numGraphemeClusters returns.
Instead, use cached selection start & selection end to subtract the part of the inner text that has been selected.
--
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