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

Unified Diff: LayoutTests/fast/scrolling/scrolling-apis-nan-scroll-position-expected.txt

Issue 670833002: Early out if the scroll position passed in by js is NaN (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: address comments Created 6 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: LayoutTests/fast/scrolling/scrolling-apis-nan-scroll-position-expected.txt
diff --git a/LayoutTests/fast/events/touch/gesture/touch-gesture-noscroll-body-expected.txt b/LayoutTests/fast/scrolling/scrolling-apis-nan-scroll-position-expected.txt
similarity index 54%
copy from LayoutTests/fast/events/touch/gesture/touch-gesture-noscroll-body-expected.txt
copy to LayoutTests/fast/scrolling/scrolling-apis-nan-scroll-position-expected.txt
index c4aed1dc710d6f519158a84a056ae9f3782c47b8..6a85413a51b174c8942d877cf52c21c2ad8e6cd4 100644
--- a/LayoutTests/fast/events/touch/gesture/touch-gesture-noscroll-body-expected.txt
+++ b/LayoutTests/fast/scrolling/scrolling-apis-nan-scroll-position-expected.txt
@@ -1,4 +1,4 @@
-This tests that a page cannot be scrolled with touch if its body has style overflow:hidden.
+Verifies that nan scroll position works correctly.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
@@ -6,16 +6,12 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
PASS successfullyParsed is true
TEST COMPLETE
-first gesture
PASS document.documentElement.scrollTop is 0
PASS document.documentElement.scrollLeft is 0
-PASS wheelEventsOccurred is 0
-second gesture
PASS document.documentElement.scrollTop is 0
PASS document.documentElement.scrollLeft is 0
-PASS wheelEventsOccurred is 0
-PASS scrollEventsOccurred is 0
-PASS successfullyParsed is true
-
-TEST COMPLETE
+PASS document.body.scrollTop is 0
+PASS document.body.scrollLeft is 0
+PASS scroller.scrollTop is 0
+PASS scroller.scrollLeft is 0

Powered by Google App Engine
This is Rietveld 408576698