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

Unified Diff: LayoutTests/fast/scroll-behavior/subframe-scrollBy-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-scrollBy-expected.txt
diff --git a/LayoutTests/fast/scroll-behavior/subframe-scrollBy-expected.txt b/LayoutTests/fast/scroll-behavior/subframe-scrollBy-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e24f34eaae233e6b550c43e72c25e80eaba530b8
--- /dev/null
+++ b/LayoutTests/fast/scroll-behavior/subframe-scrollBy-expected.txt
@@ -0,0 +1,18 @@
+Test that calling scrollBy 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 "10, 14" but got "20, 29"
+FAIL Scroll x:20, y:25, smooth:true assert_equals: expected "20, 29" but got "40, 54"
+FAIL Scroll x:30, y:35, smooth:true assert_equals: expected "40, 54" but got "70, 89"
+FAIL Scroll x:40, y:45, smooth:true assert_equals: expected "70, 89" but got "110, 134"
+FAIL Scroll x:4000, y:4100, smooth:true assert_equals: expected "110, 134" but got "4110, 4234"
+FAIL Scroll x:-3900, y:-3850, smooth:true assert_equals: expected "4110, 4234" but got "210, 384"
+FAIL Scroll x:4050, y:4000, smooth:true assert_equals: expected "210, 384" but got "4260, 4384"
+FAIL Scroll x:-4000, y:-4100, smooth:true assert_equals: expected "4260, 4384" but got "260, 284"
+Harness: the test ran to completion.
+
« no previous file with comments | « LayoutTests/fast/scroll-behavior/subframe-scrollBy.html ('k') | LayoutTests/fast/scroll-behavior/subframe-scrollLeft.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698