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

Unified Diff: third_party/WebKit/LayoutTests/fast/scrolling/keyboard-scroll-page-scale-expected.txt

Issue 1424593002: Update layout tests to use internals.visualViewport APIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: undo delete test that depends on "inert-visual-viewport" flag Created 5 years, 2 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/LayoutTests/fast/scrolling/keyboard-scroll-page-scale-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/scrolling/keyboard-scroll-page-scale-expected.txt b/third_party/WebKit/LayoutTests/fast/scrolling/keyboard-scroll-page-scale-expected.txt
index 6f71bf9a116bb4db1415b25f104f585222e88614..b73aa4fea57e5eab73d25f1ac6af18f9e4cd24c9 100644
--- a/third_party/WebKit/LayoutTests/fast/scrolling/keyboard-scroll-page-scale-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/scrolling/keyboard-scroll-page-scale-expected.txt
@@ -7,24 +7,26 @@ PASS successfullyParsed is true
TEST COMPLETE
Testing arrow keys:
-PASS window.scrollY is > 0
-PASS window.scrollY is pageHeight - window.innerHeight
-PASS window.scrollY is 0
-PASS window.scrollX is pageWidth - window.innerWidth
-PASS window.scrollX is 0
+PASS internals.visualViewportScrollY() is > 0
+PASS internals.visualViewportScrollY() is pageHeight - internals.visualViewportHeight()
+PASS internals.visualViewportScrollY() is 0
+PASS internals.visualViewportScrollX() is pageWidth - internals.visualViewportWidth()
+PASS internals.visualViewportScrollX() is 0
Testing home and end keys:
PASS window.scrollY is pageHeight - window.innerHeight
+PASS internals.visualViewportScrollY() is pageHeight - internals.visualViewportHeight()
PASS window.scrollY is 0
+PASS internals.visualViewportScrollY() is 0
Testing page up and page down keys:
-PASS window.scrollY is > 0
-PASS window.scrollY is pageHeight - window.innerHeight
-PASS window.scrollY is 0
+PASS internals.visualViewportScrollY() is > 0
+PASS internals.visualViewportScrollY() is pageHeight - internals.visualViewportHeight()
+PASS internals.visualViewportScrollY() is 0
Testing spacebar:
-PASS window.scrollY is > 0
-PASS window.scrollY is pageHeight - window.innerHeight
-PASS window.scrollY is 0
+PASS internals.visualViewportScrollY() is > 0
+PASS internals.visualViewportScrollY() is pageHeight - internals.visualViewportHeight()
+PASS internals.visualViewportScrollY() is 0
Top of pageBottom of pageLeft of pageRight of pageMiddle of page

Powered by Google App Engine
This is Rietveld 408576698