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

Side by Side Diff: LayoutTests/platform/mac/fast/events/touch/gesture/touch-gesture-noscroll-body-yhidden-expected.txt

Issue 25039006: document.documentElement.scrollTop/Left is zero (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: document.documentElement.scrollTop/Left is zero Created 7 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 unified diff | Download patch
OLDNEW
1 This tests that a page cannot be scrolled vertically with touch (but can still b e scrolled horizontally) if its body has style overflow-y:hidden. The scroll eve nts in this test have both an x and y component. 1 This tests that a page cannot be scrolled vertically with touch (but can still b e scrolled horizontally) if its body has style overflow-y:hidden. The scroll eve nts in this test have both an x and y component.
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 first gesture 6 first gesture
7 FAIL document.body.scrollTop should be 0. Was 110. 7 FAIL document.documentElement.scrollTop should be 0. Was 110.
8 FAIL document.body.scrollLeft should be 55. Was 0. 8 FAIL document.documentElement.scrollLeft should be 55. Was 0.
9 PASS wheelEventsOccurred is 0 9 PASS wheelEventsOccurred is 0
10 second gesture 10 second gesture
11 FAIL document.body.scrollTop should be 0. Was 205. 11 FAIL document.documentElement.scrollTop should be 0. Was 205.
12 FAIL document.body.scrollLeft should be 97. Was 0. 12 FAIL document.documentElement.scrollLeft should be 97. Was 0.
13 PASS wheelEventsOccurred is 0 13 PASS wheelEventsOccurred is 0
14 scroll event 0+> [object HTMLDocument] 14 scroll event 0+> [object HTMLDocument]
15 PASS scrollEventsOccurred is 1 15 PASS scrollEventsOccurred is 1
16 PASS successfullyParsed is true 16 PASS successfullyParsed is true
17 17
18 TEST COMPLETE 18 TEST COMPLETE
19 19
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698