[Webkit-unassigned] [Bug 107737] New: Editor::m_compositionNode not updated on HTMLInputElement::setValue()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 23 14:22:09 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=107737

           Summary: Editor::m_compositionNode not updated on
                    HTMLInputElement::setValue()
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: aurimas at chromium.org


Created an attachment (id=184314)
 --> (https://bugs.webkit.org/attachment.cgi?id=184314&action=review)
Screenshot of www.google.com

m_compositionNode is not being updated on JavaScript changes to the focused input text field. It has to be explicitly updated using Editor::confirmCompositon(). In Chrome most of the platforms send confirmComposition on mouse clicks which does not really a good idea and it should probably get called automatically on HTMLInputElement::setValue() calls.

On Chrome for Android we were not calling confirmComposition and then cause the Editor::setComposition() do behave weirdly as it was not able to change the node value anymore returning false. It can be checked using Chrome Beta M25 on mobile version of google.com when clicking on the autocomplete suggestion with a little arrow (see screenshot) when there still is a non-empty composition.

-- 
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