2010-10-21 Robert Hogan <robert@webkit.org> qtwebkit-2.1-week42
authorAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Fri, 22 Oct 2010 19:09:45 +0000 (16:09 -0300)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Fri, 22 Oct 2010 19:09:45 +0000 (16:09 -0300)
commit1d1745e80f221c488bf9444f86cab44508bfb760
tree288398277dd31df097805342c3ef4cd6453bf26c
parente2733132440458442790bf1b0e68527928ef00aa
2010-10-21  Robert Hogan  <robert@webkit.org>

        Reviewed by Simon Hausmann.

        [Qt] Sending a QInputMethodEvent::Selection event forces the
             Editor to go into Composition mode

        Improve QWebPage handling of input method events:
         - Selections don't trigger entering composition mode.
         - Handle multiple selections

        Also remove redundant cancellation of composition in tst_qwebpage.
        There is no composition in progress at that point.

        Finally, move infiniteLoopJS() to the end of the tst_qwebpage unit
        tests - so you don't have to wait for it to complete when running
        other tests.

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

        * Api/qwebpage.cpp:
        (QWebPagePrivate::inputMethodEvent):
        (QWebPage::inputMethodQuery):
        * tests/qwebpage/tst_qwebpage.cpp:
        (tst_QWebPage::inputMethods):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70259 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Conflicts:

WebKit/qt/Api/qwebpage.cpp
WebKit/qt/tests/qwebpage/tst_qwebpage.cpp
WebKit/qt/Api/qwebpage.cpp
WebKit/qt/ChangeLog
WebKit/qt/tests/qwebpage/tst_qwebpage.cpp