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

Side by Side Diff: LayoutTests/fast/scroll-behavior/subframe-scrollTop-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: Address review comments 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 Test that setting scrollTop on a subframe works with both scroll behaviors 1 Test that setting scrollTop on a subframe works with both scroll behaviors
2 2
3 3
4 This is a testharness.js-based test. 4 This is a testharness.js-based test.
5 PASS Scroll x:0, y:2, smooth:false 5 PASS Scroll x:0, y:2, smooth:false
6 PASS Scroll x:0, y:3, smooth:false
7 PASS Scroll x:0, y:4, smooth:false 6 PASS Scroll x:0, y:4, smooth:false
8 PASS Scroll x:0, y:5, smooth:false 7 PASS Scroll x:0, y:25, smooth:true
9 FAIL Scroll x:0, y:15, smooth:true assert_equals: expected "0, 5" but got "0, 15 " 8 PASS Scroll x:0, y:45, smooth:true
10 FAIL Scroll x:0, y:25, smooth:true assert_equals: expected "0, 15" but got "0, 2 5" 9 PASS Scroll x:0, y:4100, smooth:true
11 FAIL Scroll x:0, y:35, smooth:true assert_equals: expected "0, 25" but got "0, 3 5" 10 PASS Scroll x:0, y:20, smooth:true
12 FAIL Scroll x:0, y:45, smooth:true assert_equals: expected "0, 35" but got "0, 4 5"
13 FAIL Scroll x:0, y:4100, smooth:true assert_equals: expected "0, 45" but got "0, 4100"
14 FAIL Scroll x:0, y:20, smooth:true assert_equals: expected "0, 4100" but got "0, 20"
15 FAIL Scroll x:0, y:4000, smooth:true assert_equals: expected "0, 20" but got "0, 4000"
16 FAIL Scroll x:0, y:5, smooth:true assert_equals: expected "0, 4000" but got "0, 5"
17 Harness: the test ran to completion. 11 Harness: the test ran to completion.
18 12
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698