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

Unified Diff: LayoutTests/fast/scroll-behavior/overflow-scroll-scrollTo-expected.txt

Issue 782793002: Update Element API for CSSOM smooth scrolling to match the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 years 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/overflow-scroll-scrollTo-expected.txt
diff --git a/LayoutTests/fast/scroll-behavior/overflow-scroll-scrollTo-expected.txt b/LayoutTests/fast/scroll-behavior/overflow-scroll-scrollTo-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0358529d681092e05e553fde3925749a8a0f19a1
--- /dev/null
+++ b/LayoutTests/fast/scroll-behavior/overflow-scroll-scrollTo-expected.txt
@@ -0,0 +1,22 @@
+Test that calling scrollTo on an overflow:scroll element works with both scroll behaviors
+
+This is a testharness.js-based test.
+PASS Scroll x:1, y:2, smooth:false
+PASS Scroll x:2, y:3, smooth:false
+PASS Scroll x:3, y:4, smooth:false
+PASS Scroll x:4, y:5, smooth:false
+PASS Scroll x:3, y:undefined, smooth:false
+PASS Scroll x:undefined, y:4, smooth:false
+PASS Scroll x:undefined, y:undefined, smooth:false
+FAIL Scroll x:10, y:15, smooth:true assert_equals: expected "3, 4" but got "10, 15"
+FAIL Scroll x:20, y:25, smooth:true assert_equals: expected "10, 15" but got "20, 25"
+FAIL Scroll x:30, y:35, smooth:true assert_equals: expected "20, 25" but got "30, 35"
+FAIL Scroll x:40, y:45, smooth:true assert_equals: expected "30, 35" but got "40, 45"
+FAIL Scroll x:45, y:undefined, smooth:true assert_equals: expected "40, 45" but got "45, 45"
+FAIL Scroll x:undefined, y:40, smooth:true assert_equals: expected "45, 45" but got "45, 40"
+FAIL Scroll x:4000, y:4100, smooth:true assert_equals: expected "45, 40" but got "4000, 4100"
+FAIL Scroll x:15, y:20, smooth:true assert_equals: expected "4000, 4100" but got "15, 20"
+FAIL Scroll x:4100, y:4000, smooth:true assert_equals: expected "15, 20" but got "4100, 4000"
+FAIL Scroll x:10, y:5, smooth:true assert_equals: expected "4100, 4000" but got "10, 5"
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698