Changeset 52110 in webkit
- Timestamp:
- Dec 14, 2009 12:35:31 PM (14 years ago)
- Location:
- trunk/WebKit/qt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/qt/ChangeLog
r52103 r52110 1 2009-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 1 14 2009-12-13 Sam Weinig <sam@webkit.org> 2 15 -
trunk/WebKit/qt/tests/qwebpage/tst_qwebpage.cpp
r51696 r52110 1374 1374 QVERIFY2(false, "Unknown view type"); 1375 1375 1376 page->settings()->setFontFamily(QWebSettings::SerifFont, "FooSerifFont"); 1376 1377 page->mainFrame()->setHtml("<html><body>" \ 1377 1378 "<input type='text' id='input1' style='font-family: serif' value='' maxlength='20'/><br>" \ … … 1409 1410 variant = page->inputMethodQuery(Qt::ImFont); 1410 1411 QFont font = variant.value<QFont>(); 1411 QCOMPARE( QString("-webkit-serif"), font.family());1412 QCOMPARE(page->settings()->fontFamily(QWebSettings::SerifFont), font.family()); 1412 1413 1413 1414 QList<QInputMethodEvent::Attribute> inputAttributes;
Note: See TracChangeset
for help on using the changeset viewer.