Changeset 79844 in webkit
- Timestamp:
- Feb 27, 2011 11:30:10 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r79829 r79844 1 2011-02-27 Aparna Nandyal <aparna.nand@wipro.com> 2 3 Reviewed by Antonio Gomes. 4 5 [Qt] QtTestBrowser - Horizontal scrollbar disappears on navigating pages using Back/Forward 6 https://bugs.webkit.org/show_bug.cgi?id=53917 7 8 The bug got fixed by other changes. Adding test case to avoid 9 regressions in the future. 10 11 * fast/overflow/horizontal-scroll-after-back-expected.txt: Added. 12 * fast/overflow/horizontal-scroll-after-back.html: Added. 13 1 14 2011-02-27 Adam Roben <aroben@apple.com> 2 15 -
trunk/Source/WebKit/qt/ChangeLog
r79826 r79844 1 2011-02-27 Aparna Nandyal <aparna.nand@wipro.com> 2 3 Reviewed by Antonio Gomes. 4 5 [Qt] QtTestBrowser - Horizontal scrollbar disappears on navigating pages using Back/Forward 6 https://bugs.webkit.org/show_bug.cgi?id=53917 7 8 Adding test case to check the scenario to avoid regressions in the 9 future. 10 11 * tests/qwebframe/tst_qwebframe.cpp: 12 1 13 2011-02-27 Benjamin Poulain <benjamin.poulain@nokia.com> 2 14 -
trunk/Source/WebKit/qt/tests/qwebframe/tst_qwebframe.cpp
r78816 r79844 591 591 592 592 private slots: 593 void horizontalScrollAfterBack(); 593 594 void getSetStaticProperty(); 594 595 void getSetDynamicProperty(); … … 3103 3104 } 3104 3105 3106 void tst_QWebFrame::horizontalScrollAfterBack() 3107 { 3108 QWebView view; 3109 QWebFrame* frame = view.page()->mainFrame(); 3110 QSignalSpy loadSpy(view.page(), SIGNAL(loadFinished(bool))); 3111 3112 view.page()->settings()->setMaximumPagesInCache(2); 3113 frame->setScrollBarPolicy(Qt::Vertical, Qt::ScrollBarAsNeeded); 3114 frame->setScrollBarPolicy(Qt::Horizontal, Qt::ScrollBarAsNeeded); 3115 3116 view.load(QUrl("qrc:/testiframe2.html")); 3117 view.resize(200, 200); 3118 QTRY_COMPARE(loadSpy.count(), 1); 3119 QTRY_VERIFY((frame->scrollBarGeometry(Qt::Horizontal)).height()); 3120 3121 view.load(QUrl("qrc:/testiframe.html")); 3122 QTRY_COMPARE(loadSpy.count(), 2); 3123 3124 view.page()->triggerAction(QWebPage::Back); 3125 QTRY_COMPARE(loadSpy.count(), 3); 3126 QTRY_VERIFY((frame->scrollBarGeometry(Qt::Horizontal)).height()); 3127 } 3128 3105 3129 void tst_QWebFrame::evaluateWillCauseRepaint() 3106 3130 {
Note: See TracChangeset
for help on using the changeset viewer.