Changeset 52110 in webkit


Ignore:
Timestamp:
Dec 14, 2009 12:35:31 PM (14 years ago)
Author:
eric@webkit.org
Message:

2009-12-14 Andreas Kling <andreas.kling@nokia.com>

Reviewed by Simon Hausmann.

Fix the QWebPage inputMethods() autotest after r51758
to compare the Qt::ImFont property's family against an explicitly
previously configured family.

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

  • tests/qwebpage/tst_qwebpage.cpp: (tst_QWebPage::inputMethods):
Location:
trunk/WebKit/qt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/qt/ChangeLog

    r52103 r52110  
     12009-12-14  Andreas Kling  <andreas.kling@nokia.com>
     2
     3        Reviewed by Simon Hausmann.
     4
     5        Fix the QWebPage inputMethods() autotest after r51758
     6        to compare the Qt::ImFont property's family against an explicitly
     7        previously configured family.
     8
     9        https://bugs.webkit.org/show_bug.cgi?id=32491
     10
     11        * tests/qwebpage/tst_qwebpage.cpp:
     12        (tst_QWebPage::inputMethods):
     13
    1142009-12-13  Sam Weinig  <sam@webkit.org>
    215
  • trunk/WebKit/qt/tests/qwebpage/tst_qwebpage.cpp

    r51696 r52110  
    13741374        QVERIFY2(false, "Unknown view type");
    13751375
     1376    page->settings()->setFontFamily(QWebSettings::SerifFont, "FooSerifFont");
    13761377    page->mainFrame()->setHtml("<html><body>" \
    13771378                                            "<input type='text' id='input1' style='font-family: serif' value='' maxlength='20'/><br>" \
     
    14091410    variant = page->inputMethodQuery(Qt::ImFont);
    14101411    QFont font = variant.value<QFont>();
    1411     QCOMPARE(QString("-webkit-serif"), font.family());
     1412    QCOMPARE(page->settings()->fontFamily(QWebSettings::SerifFont), font.family());
    14121413
    14131414    QList<QInputMethodEvent::Attribute> inputAttributes;
Note: See TracChangeset for help on using the changeset viewer.