Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2040)

Unified Diff: Source/web/tests/TouchActionTest.cpp

Issue 220343002: Update touch-action hit-testing to match latest spec changes. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/web/tests/TouchActionTest.cpp
diff --git a/Source/web/tests/TouchActionTest.cpp b/Source/web/tests/TouchActionTest.cpp
index 9e0e093e90645016194d7adbc05cac3d0d3d1c4f..eb79c5ded7e0880e922378ffbd88324fc178602c 100644
--- a/Source/web/tests/TouchActionTest.cpp
+++ b/Source/web/tests/TouchActionTest.cpp
@@ -169,7 +169,7 @@ WebView* TouchActionTest::setupTest(std::string file, TouchActionTrackingWebView
WebView* webView = m_webViewHelper.initializeAndLoad(m_baseURL + file, true, 0, &client);
// Set size to enable hit testing, and avoid line wrapping for consistency with browser.
- webView->resize(WebSize(800, 1200));
+ webView->resize(WebSize(800, 1600));
Rick Byers 2014/04/02 20:25:20 Check to see if this is really needed - I believe
Zeeshan Qureshi 2014/04/04 01:12:31 This wasn't needed after all.
// Scroll to verify the code properly transforms windows to client co-ords.
const int kScrollOffset = 100;

Powered by Google App Engine
This is Rietveld 408576698