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

Unified Diff: content/browser/renderer_host/input/touch_action_browsertest.cc

Issue 2358673002: Increase scroll height in scroll tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/input/touch_action_browsertest.cc
diff --git a/content/browser/renderer_host/input/touch_action_browsertest.cc b/content/browser/renderer_host/input/touch_action_browsertest.cc
index af1ad92b5d42d7159b19786ca0e12ef389fe7aea..b63e2f76487d043c24c227ec8fdc0f6291ccd37a 100644
--- a/content/browser/renderer_host/input/touch_action_browsertest.cc
+++ b/content/browser/renderer_host/input/touch_action_browsertest.cc
@@ -51,7 +51,7 @@ const char kTouchActionDataURL[] =
" width: 96px;"
" border: 2px solid blue;"
"}"
- ".spacer { height: 1000px; }"
+ ".spacer { height: 10000px; }"
".ta-none { touch-action: none; }"
"</style>"
"<div class=box></div>"
@@ -138,7 +138,7 @@ class TouchActionBrowserTest : public ContentBrowserTest {
int scrollHeight = ExecuteScriptAndExtractInt(
"document.documentElement.scrollHeight");
- EXPECT_EQ(1200, scrollHeight);
+ EXPECT_EQ(10200, scrollHeight);
scoped_refptr<FrameWatcher> frame_watcher(new FrameWatcher());
frame_watcher->AttachTo(shell()->web_contents());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698