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

Unified Diff: third_party/WebKit/LayoutTests/virtual/threaded/fast/scroll-behavior/smooth-scroll/main-thread-scrolling-reason-correctness-expected.txt

Issue 1648293003: Fix smooth scroll jump when switching scroll handling between MT and CC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: skip irrelevant test on mac 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/virtual/threaded/fast/scroll-behavior/smooth-scroll/main-thread-scrolling-reason-correctness-expected.txt
diff --git a/third_party/WebKit/LayoutTests/virtual/threaded/fast/scroll-behavior/smooth-scroll/main-thread-scrolling-reason-correctness-expected.txt b/third_party/WebKit/LayoutTests/virtual/threaded/fast/scroll-behavior/smooth-scroll/main-thread-scrolling-reason-correctness-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e46222315e57303c141ddb2918cff3b14f8e561d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/virtual/threaded/fast/scroll-behavior/smooth-scroll/main-thread-scrolling-reason-correctness-expected.txt
@@ -0,0 +1,16 @@
+This test verifies that the ScrollAnimator can schedule animations on the compositor when it adds a temporary main thread scrolling reason.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS internals.getScrollAnimationState(document) == RUNNING_ON_COMPOSITOR is true
+PASS internals.mainThreadScrollingReasons(document) == ANIMATING_TEXT is true
+PASS internals.getScrollAnimationState(document) == RUNNING_ON_COMPOSITOR_BUT_NEEDS_UPDATE is true
+PASS internals.mainThreadScrollingReasons(document) == ANIMATING_TEXT is true
+PASS needsUpdateOrRunningOnCompositor(document) is true
+PASS document.scrollingElement.scrollTop == 80 became true
+PASS internals.mainThreadScrollingReasons(document) == '' is true
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698