2010-10-12 Yael Aharon <yael.aharon@nokia.com>
authorYael Aharon <yael.aharon@nokia.com>
Tue, 12 Oct 2010 14:47:24 +0000 (14:47 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Fri, 15 Oct 2010 14:04:08 +0000 (16:04 +0200)
commita5266b96a1054474ed20cc917971a0c26ec303e8
tree53195de7002e027a5ea9cc28a87bfc40508a1ff5
parent15511469a7117e59985927d7e0fbdc94eb38b460
2010-10-12  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Antonio Gomes.

        [Qt] Editing commands should not be executed on non-editable content.
        https://bugs.webkit.org/show_bug.cgi?id=47426

        * fast/events/scroll-after-click-on-tab-index-expected.txt: Added.
        * fast/events/scroll-after-click-on-tab-index.html: Added.
2010-10-12  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Antonio Gomes.

        [Qt] Editing commands should not be executed on non-editable content.
        https://bugs.webkit.org/show_bug.cgi?id=47426

        Remove calls to editor()->command() when we are not in editable content.
        There is no value in doing that, and in some cases, it prevents scrolling.

        * WebCoreSupport/EditorClientQt.cpp:
        (WebCore::EditorClientQt::handleKeyboardEvent):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69582 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/events/scroll-after-click-on-tab-index-expected.txt [new file with mode: 0644]
LayoutTests/fast/events/scroll-after-click-on-tab-index.html [new file with mode: 0644]
WebKit/qt/ChangeLog
WebKit/qt/WebCoreSupport/EditorClientQt.cpp