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

Unified Diff: third_party/WebKit/LayoutTests/platform/linux/virtual/scalefactor200withzoom/fast/hidpi/static/gesture-scroll-amount-expected.txt

Issue 1754033002: ScrollableArea::pixelStep should return DIP not viewport (physical pixels) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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: third_party/WebKit/LayoutTests/platform/linux/virtual/scalefactor200withzoom/fast/hidpi/static/gesture-scroll-amount-expected.txt
diff --git a/third_party/WebKit/LayoutTests/platform/linux/virtual/scalefactor200withzoom/fast/hidpi/static/gesture-scroll-amount-expected.txt b/third_party/WebKit/LayoutTests/platform/linux/virtual/scalefactor200withzoom/fast/hidpi/static/gesture-scroll-amount-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db227be0d995cedec2fb1f8280343d5d1ba344da
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/linux/virtual/scalefactor200withzoom/fast/hidpi/static/gesture-scroll-amount-expected.txt
@@ -0,0 +1,18 @@
+This test ensures that touch gesture scrolls the right amount pixels in high dpi mode.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+first gesture
+PASS document.scrollingElement.scrollTop is 1
+PASS document.scrollingElement.scrollLeft is 1
+second gesture
+PASS document.scrollingElement.scrollTop is 3
+PASS document.scrollingElement.scrollLeft is 3
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698