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

Unified Diff: LayoutTests/fast/loader/scroll-position-restoration-without-premature-clamping-expected.txt

Issue 1271143003: Fix scroll restoration clamping bug (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Notify progress tracker before trying to restore position Created 5 years, 4 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: LayoutTests/fast/loader/scroll-position-restoration-without-premature-clamping-expected.txt
diff --git a/LayoutTests/fast/loader/scroll-position-restoration-without-premature-clamping-expected.txt b/LayoutTests/fast/loader/scroll-position-restoration-without-premature-clamping-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e5ca97fe962434098e43a3cf12e7c2a951fe22b
--- /dev/null
+++ b/LayoutTests/fast/loader/scroll-position-restoration-without-premature-clamping-expected.txt
@@ -0,0 +1,14 @@
+Test ensures that frame scroll position is not prematurely clamped and restored before load event fires.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Scroll position should not be clamped and restored while frame is loading
+PASS document.scrollingElement.scrollLeft is 0
+PASS document.scrollingElement.scrollTop is 0
+PASS document.scrollingElement.scrollLeft is 5000
+PASS document.scrollingElement.scrollTop is 5001
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698