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

Side by Side 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, 1 month 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 unified diff | Download patch
OLDNEW
1 Test that keyboard scrolling while the page is scaled scrolls both viewports. To test manually, pinch zoom into the page and use the arrow keys, page up/down, h ome/end to scroll the page. You should be able to reach the end of the page boun ds (i.e. scroll to see the divs at the bounds.) 1 Test that keyboard scrolling while the page is scaled scrolls both viewports. To test manually, pinch zoom into the page and use the arrow keys, page up/down, h ome/end to scroll the page. You should be able to reach the end of the page boun ds (i.e. scroll to see the divs at the bounds.)
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS successfullyParsed is true 6 PASS successfullyParsed is true
7 7
8 TEST COMPLETE 8 TEST COMPLETE
9 Testing arrow keys: 9 Testing arrow keys:
10 PASS window.scrollY is > 0 10 PASS internals.visualViewportScrollY() is > 0
11 PASS window.scrollY is pageHeight - window.innerHeight 11 PASS internals.visualViewportScrollY() is pageHeight - internals.visualViewportH eight()
12 PASS window.scrollY is 0 12 PASS internals.visualViewportScrollY() is 0
13 PASS window.scrollX is pageWidth - window.innerWidth 13 PASS internals.visualViewportScrollX() is pageWidth - internals.visualViewportWi dth()
14 PASS window.scrollX is 0 14 PASS internals.visualViewportScrollX() is 0
15 15
16 Testing home and end keys: 16 Testing home and end keys:
17 PASS window.scrollY is pageHeight - window.innerHeight 17 PASS window.scrollY is pageHeight - window.innerHeight
18 PASS internals.visualViewportScrollY() is pageHeight - internals.visualViewportH eight()
18 PASS window.scrollY is 0 19 PASS window.scrollY is 0
20 PASS internals.visualViewportScrollY() is 0
19 21
20 Testing page up and page down keys: 22 Testing page up and page down keys:
21 PASS window.scrollY is > 0 23 PASS internals.visualViewportScrollY() is > 0
22 PASS window.scrollY is pageHeight - window.innerHeight 24 PASS internals.visualViewportScrollY() is pageHeight - internals.visualViewportH eight()
23 PASS window.scrollY is 0 25 PASS internals.visualViewportScrollY() is 0
24 26
25 Testing spacebar: 27 Testing spacebar:
26 PASS window.scrollY is > 0 28 PASS internals.visualViewportScrollY() is > 0
27 PASS window.scrollY is pageHeight - window.innerHeight 29 PASS internals.visualViewportScrollY() is pageHeight - internals.visualViewportH eight()
28 PASS window.scrollY is 0 30 PASS internals.visualViewportScrollY() is 0
29 31
30 Top of pageBottom of pageLeft of pageRight of pageMiddle of page 32 Top of pageBottom of pageLeft of pageRight of pageMiddle of page
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698