| Index: Source/web/tests/TouchActionTest.cpp
|
| diff --git a/Source/web/tests/TouchActionTest.cpp b/Source/web/tests/TouchActionTest.cpp
|
| index 52d22af0fbe9091cfb3b496de42c79b6cb9fd7a2..f5d1c4f26d8f82dd13076aaf73805219b925f6ac 100644
|
| --- a/Source/web/tests/TouchActionTest.cpp
|
| +++ b/Source/web/tests/TouchActionTest.cpp
|
| @@ -168,6 +168,9 @@ WebView* TouchActionTest::setupTest(std::string file, TouchActionTrackingWebView
|
| // Note that JavaScript must be enabled for shadow DOM tests.
|
| WebView* webView = m_webViewHelper.initializeAndLoad(m_baseURL + file, true, 0, &client);
|
|
|
| + // Lock page scale factor to avoid zooming out to contents size.
|
| + m_webViewHelper.webView()->setPageScaleFactorLimits(1, 1);
|
| +
|
| // Set size to enable hit testing, and avoid line wrapping for consistency with browser.
|
| webView->resize(WebSize(800, 1200));
|
|
|
|
|