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

Unified Diff: LayoutTests/fast/scroll-behavior/subframe-scrollTo-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/subframe-scrollTo-expected.txt
diff --git a/LayoutTests/fast/scroll-behavior/subframe-scrollTo-expected.txt b/LayoutTests/fast/scroll-behavior/subframe-scrollTo-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11713eef4facfaafcb1695283bb901e5edf96fb5
--- /dev/null
+++ b/LayoutTests/fast/scroll-behavior/subframe-scrollTo-expected.txt
@@ -0,0 +1,18 @@
+Test that calling scrollTo on a subframe 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
+FAIL Scroll x:10, y:15, smooth:true assert_equals: expected "4, 5" 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:4000, y:4100, smooth:true assert_equals: expected "40, 45" 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.
+
« no previous file with comments | « LayoutTests/fast/scroll-behavior/subframe-scrollTo.html ('k') | LayoutTests/fast/scroll-behavior/subframe-scrollTop.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698