Changeset 83295 in webkit


Ignore:
Timestamp:
Apr 8, 2011 8:24:07 AM (13 years ago)
Author:
yi.4.shen@nokia.com
Message:

2011-04-08 Yi Shen <yi.4.shen@nokia.com>

Reviewed by Antonio Gomes.

[Qt]REGRESSION(r82243): fast/events/onsearch-enter.html fails
https://bugs.webkit.org/show_bug.cgi?id=57472

Unskips the fast/events/onsearch-enter.html test.

  • platform/qt/Skipped:

2011-04-08 Yi Shen <yi.4.shen@nokia.com>

Reviewed by Antonio Gomes.

[Qt]REGRESSION(r82243): fast/events/onsearch-enter.html fails
https://bugs.webkit.org/show_bug.cgi?id=57472

Avoid to insert new line for both keydown event & keypress event.

  • WebCoreSupport/EditorClientQt.cpp: (WebCore::EditorClientQt::handleInputMethodKeydown):
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r83294 r83295  
     12011-04-08  Yi Shen  <yi.4.shen@nokia.com>
     2
     3        Reviewed by Antonio Gomes.
     4
     5        [Qt]REGRESSION(r82243): fast/events/onsearch-enter.html fails
     6        https://bugs.webkit.org/show_bug.cgi?id=57472
     7
     8        Unskips the fast/events/onsearch-enter.html test.
     9
     10        * platform/qt/Skipped:
     11
    1122011-04-07  Pavel Podivilov  <podivilov@chromium.org>
    213
  • trunk/LayoutTests/platform/qt/Skipped

    r83292 r83295  
    32353235http/tests/uri/username-with-no-hostname.html
    32363236
    3237 # [Qt]REGRESSION(r82243): fast/events/onsearch-enter.html fails
    3238 # https://bugs.webkit.org/show_bug.cgi?id=57472
    3239 fast/events/onsearch-enter.html
    3240 
    32413237# [Qt] media/video-playbackrate.html fails
    32423238# https://bugs.webkit.org/show_bug.cgi?id=57476
  • trunk/Source/WebKit/qt/ChangeLog

    r83184 r83295  
     12011-04-08  Yi Shen  <yi.4.shen@nokia.com>
     2
     3        Reviewed by Antonio Gomes.
     4
     5        [Qt]REGRESSION(r82243): fast/events/onsearch-enter.html fails
     6        https://bugs.webkit.org/show_bug.cgi?id=57472
     7
     8        Avoid to insert new line for both keydown event & keypress event.
     9
     10        * WebCoreSupport/EditorClientQt.cpp:
     11        (WebCore::EditorClientQt::handleInputMethodKeydown):
     12
    1132011-04-07  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
    214
  • trunk/Source/WebKit/qt/WebCoreSupport/EditorClientQt.cpp

    r82886 r83295  
    535535#ifndef QT_NO_SHORTCUT
    536536    const PlatformKeyboardEvent* kevent = event->keyEvent();
    537     if (kevent->type() == PlatformKeyboardEvent::RawKeyDown) {
     537    if (kevent->type() == PlatformKeyboardEvent::RawKeyDown && !event->defaultPrevented()) {
    538538        QWebPage::WebAction action = QWebPagePrivate::editorActionForKeyEvent(kevent->qtEvent());
    539539        switch (action) {
     
    541541        case QWebPage::InsertLineSeparator:
    542542            m_page->triggerAction(action);
     543            event->setDefaultHandled();
    543544            break;
    544545        default:
Note: See TracChangeset for help on using the changeset viewer.