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

Unified 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: rebase 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/fast/scrolling/scrolling-apis-subpixel.html ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/scrolling/scrolling-apis-subpixel-expected.txt
diff --git a/LayoutTests/fast/scrolling/scrolling-apis-subpixel-expected.txt b/LayoutTests/fast/scrolling/scrolling-apis-subpixel-expected.txt
index 26c095801578a814550e3e4a99503edf074f9909..bab27c49647d02819dd578b172cee6d27ca60ab1 100644
--- a/LayoutTests/fast/scrolling/scrolling-apis-subpixel-expected.txt
+++ b/LayoutTests/fast/scrolling/scrolling-apis-subpixel-expected.txt
@@ -3,32 +3,45 @@ Verifies that scrolling APIs support fractional offsets.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+Scrolling DIV with scrollTop/scrollLeft
+PASS scroller.scrollTop is within 0.01 of 4.2
+PASS scroller.scrollLeft is within 0.01 of 4.2
+Scrolling the document with window.scroll
+PASS window.scrollY is within 0.01 of 5.2
+PASS window.scrollX is within 0.01 of 5.2
+Scrolling the document with window.scrollTo
+PASS window.pageYOffset is within 0.01 of 5.2
+PASS window.pageXOffset is within 0.01 of 5.2
+Scrolling the document with window.scrollBy
+PASS window.scrollY is within 0.01 of 5.2
+PASS window.scrollX is within 0.01 of 5.2
+
---- Testing page zoom = 2 ----
Scrolling DIV with scrollTop/scrollLeft
-PASS scroller.scrollTop is 4
-PASS scroller.scrollLeft is 4
+PASS scroller.scrollTop is within 0.01 of 4
+PASS scroller.scrollLeft is within 0.01 of 4
Scrolling the document with window.scroll
-PASS window.scrollY is 5
-PASS window.scrollX is 5
+PASS window.scrollY is within 0.01 of 5
+PASS window.scrollX is within 0.01 of 5
Scrolling the document with window.scrollTo
-PASS window.pageYOffset is 5
-PASS window.pageXOffset is 5
+PASS window.pageYOffset is within 0.01 of 5
+PASS window.pageXOffset is within 0.01 of 5
Scrolling the document with window.scrollBy
-PASS window.scrollY is 5
-PASS window.scrollX is 5
+PASS window.scrollY is within 0.01 of 5
+PASS window.scrollX is within 0.01 of 5
Scrolling DIV with scrollTop/scrollLeft
-PASS scroller.scrollTop is 4.5
-PASS scroller.scrollLeft is 4.5
+PASS scroller.scrollTop is within 0.01 of 4.5
+PASS scroller.scrollLeft is within 0.01 of 4.5
Scrolling the document with window.scroll
-PASS window.scrollY is 5.5
-PASS window.scrollX is 5.5
+PASS window.scrollY is within 0.01 of 5.5
+PASS window.scrollX is within 0.01 of 5.5
Scrolling the document with window.scrollTo
-PASS window.pageYOffset is 5.5
-PASS window.pageXOffset is 5.5
+PASS window.pageYOffset is within 0.01 of 5.5
+PASS window.pageXOffset is within 0.01 of 5.5
Scrolling the document with window.scrollBy
-PASS window.scrollY is 5.5
-PASS window.scrollX is 5.5
+PASS window.scrollY is within 0.01 of 5.5
+PASS window.scrollX is within 0.01 of 5.5
PASS successfullyParsed is true
« no previous file with comments | « LayoutTests/fast/scrolling/scrolling-apis-subpixel.html ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698