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

Side by Side Diff: LayoutTests/fast/scrolling/scrolling-apis-subpixel-expected.txt

Issue 610423004: Preserve fractional scroll offset for JS scrolling API (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 Verifies that scrolling APIs support fractional offsets. 1 Verifies that scrolling APIs support fractional offsets.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 Scrolling DIV with scrollTop/scrollLeft
7 PASS scroller.scrollTop is within 0.01 of 4.2
8 PASS scroller.scrollLeft is within 0.01 of 4.2
9 Scrolling the document with window.scroll
10 PASS window.scrollY is within 0.01 of 5.2
11 PASS window.scrollX is within 0.01 of 5.2
12 Scrolling the document with window.scrollTo
13 PASS window.pageYOffset is within 0.01 of 5.2
14 PASS window.pageXOffset is within 0.01 of 5.2
15 Scrolling the document with window.scrollBy
16 PASS window.scrollY is within 0.01 of 5.2
17 PASS window.scrollX is within 0.01 of 5.2
18
6 ---- Testing page zoom = 2 ---- 19 ---- Testing page zoom = 2 ----
7 Scrolling DIV with scrollTop/scrollLeft 20 Scrolling DIV with scrollTop/scrollLeft
8 PASS scroller.scrollTop is 4 21 PASS scroller.scrollTop is within 0.01 of 4
9 PASS scroller.scrollLeft is 4 22 PASS scroller.scrollLeft is within 0.01 of 4
10 Scrolling the document with window.scroll 23 Scrolling the document with window.scroll
11 PASS window.scrollY is 5 24 PASS window.scrollY is within 0.01 of 5
12 PASS window.scrollX is 5 25 PASS window.scrollX is within 0.01 of 5
13 Scrolling the document with window.scrollTo 26 Scrolling the document with window.scrollTo
14 PASS window.pageYOffset is 5 27 PASS window.pageYOffset is within 0.01 of 5
15 PASS window.pageXOffset is 5 28 PASS window.pageXOffset is within 0.01 of 5
16 Scrolling the document with window.scrollBy 29 Scrolling the document with window.scrollBy
17 PASS window.scrollY is 5 30 PASS window.scrollY is within 0.01 of 5
18 PASS window.scrollX is 5 31 PASS window.scrollX is within 0.01 of 5
19 32
20 Scrolling DIV with scrollTop/scrollLeft 33 Scrolling DIV with scrollTop/scrollLeft
21 PASS scroller.scrollTop is 4.5 34 PASS scroller.scrollTop is within 0.01 of 4.5
22 PASS scroller.scrollLeft is 4.5 35 PASS scroller.scrollLeft is within 0.01 of 4.5
23 Scrolling the document with window.scroll 36 Scrolling the document with window.scroll
24 PASS window.scrollY is 5.5 37 PASS window.scrollY is within 0.01 of 5.5
25 PASS window.scrollX is 5.5 38 PASS window.scrollX is within 0.01 of 5.5
26 Scrolling the document with window.scrollTo 39 Scrolling the document with window.scrollTo
27 PASS window.pageYOffset is 5.5 40 PASS window.pageYOffset is within 0.01 of 5.5
28 PASS window.pageXOffset is 5.5 41 PASS window.pageXOffset is within 0.01 of 5.5
29 Scrolling the document with window.scrollBy 42 Scrolling the document with window.scrollBy
30 PASS window.scrollY is 5.5 43 PASS window.scrollY is within 0.01 of 5.5
31 PASS window.scrollX is 5.5 44 PASS window.scrollX is within 0.01 of 5.5
32 45
33 PASS successfullyParsed is true 46 PASS successfullyParsed is true
34 47
35 TEST COMPLETE 48 TEST COMPLETE
36 49
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698