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

Unified Diff: LayoutTests/fast/scroll-behavior/main-frame-scrollTop-expected.txt

Issue 378953002: Test framework and tests for CSSOM View smooth scroll (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add NeedsRebaseline for listbox test on Mac and Win Created 6 years, 5 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/scroll-behavior/main-frame-scrollTop-expected.txt
diff --git a/LayoutTests/fast/scroll-behavior/main-frame-scrollTop-expected.txt b/LayoutTests/fast/scroll-behavior/main-frame-scrollTop-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61153e484bbbd04692f0ab541a0f95018ed544a5
--- /dev/null
+++ b/LayoutTests/fast/scroll-behavior/main-frame-scrollTop-expected.txt
@@ -0,0 +1,17 @@
+Test that setting scrollTop on the main frame works with both scroll behaviors
+
+This is a testharness.js-based test.
+PASS Scroll x:0, y:2, smooth:false
+PASS Scroll x:0, y:3, smooth:false
+PASS Scroll x:0, y:4, smooth:false
+PASS Scroll x:0, y:5, smooth:false
+FAIL Scroll x:0, y:15, smooth:true assert_equals: expected "0, 5" but got "0, 15"
+FAIL Scroll x:0, y:25, smooth:true assert_equals: expected "0, 15" but got "0, 25"
+FAIL Scroll x:0, y:35, smooth:true assert_equals: expected "0, 25" but got "0, 35"
+FAIL Scroll x:0, y:45, smooth:true assert_equals: expected "0, 35" but got "0, 45"
+FAIL Scroll x:0, y:4100, smooth:true assert_equals: expected "0, 45" but got "0, 4100"
+FAIL Scroll x:0, y:20, smooth:true assert_equals: expected "0, 4100" but got "0, 20"
+FAIL Scroll x:0, y:4000, smooth:true assert_equals: expected "0, 20" but got "0, 4000"
+FAIL Scroll x:0, y:5, smooth:true assert_equals: expected "0, 4000" but got "0, 5"
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698