Fixed handling of QInputMethodEvents with nonzero replacementLength.
authoraxis <qt-info@nokia.com>
Fri, 19 Nov 2010 10:15:55 +0000 (11:15 +0100)
committeraxis <qt-info@nokia.com>
Fri, 19 Nov 2010 14:02:39 +0000 (15:02 +0100)
commitf234f248fa8f0d2bb74a14f5ee3cb489f256c0f2
treec5a10ce71ad0b8f60e351ba5ffe8cb8aea091dba
parentab794fe3a0d2992d770c09527c479a563f21164e
Fixed handling of QInputMethodEvents with nonzero replacementLength.

These types of events replace text that is already in the widget, but
WebKit did not check for replacementLength at all.

RevBy:    Janne Koskinen
Task:     QT-4303
Task:     https://bugs.webkit.org/show_bug.cgi?id=49787
AutoTest: Included
src/3rdparty/webkit/WebKit/qt/Api/qwebpage.cpp
src/3rdparty/webkit/WebKit/qt/tests/qwebpage/tst_qwebpage.cpp