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

Unified Diff: third_party/WebKit/Source/web/tests/TopControlsTest.cpp

Issue 1752043002: Merged FrameView and LayoutBox scrolling in EventHandler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@invertScrollCustomizationPath
Patch Set: Fixes for layout tests breaks Created 4 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: third_party/WebKit/Source/web/tests/TopControlsTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/TopControlsTest.cpp b/third_party/WebKit/Source/web/tests/TopControlsTest.cpp
index cdfd26de18e18319fefad3bcc99544a9c59fdb69..f8b02f281840fe275bd6177db8f264fb3e1d2f62 100644
--- a/third_party/WebKit/Source/web/tests/TopControlsTest.cpp
+++ b/third_party/WebKit/Source/web/tests/TopControlsTest.cpp
@@ -167,7 +167,7 @@ TEST_F(TopControlsTest, MAYBE(HideOnScrollDown))
EXPECT_FLOAT_EQ(25.f, webView->topControls().contentOffset());
EXPECT_POINT_EQ(IntPoint(0, 0), frame()->view()->scrollPosition());
- // Top controls should consume 30px and become hidden. Excess scroll should be consumed by the page.
+ // Top controls should consume 25px and become hidden. Excess scroll should be consumed by the page.
webView->handleInputEvent(generateEvent(WebInputEvent::GestureScrollUpdate, 0, -40.f));
EXPECT_FLOAT_EQ(0.f, webView->topControls().contentOffset());
EXPECT_POINT_EQ(IntPoint(0, 15), frame()->view()->scrollPosition());

Powered by Google App Engine
This is Rietveld 408576698