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

Unified Diff: LayoutTests/fast/loader/scroll-position-restored-on-reload-at-load-event-expected.txt

Issue 52893003: scrollTop and scrollLeft always 0 in DOMContentLoaded handler on a scrolled page (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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
Index: LayoutTests/fast/loader/scroll-position-restored-on-reload-at-load-event-expected.txt
diff --git a/LayoutTests/fast/loader/scroll-position-restored-on-reload-at-load-event-expected.txt b/LayoutTests/fast/loader/scroll-position-restored-on-reload-at-load-event-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8346e4c9334ba8c3d05b621b281ec19cdb432288
--- /dev/null
+++ b/LayoutTests/fast/loader/scroll-position-restored-on-reload-at-load-event-expected.txt
@@ -0,0 +1,17 @@
+main frame "second/load" - has 1 onunload handler(s)
+main frame - has 1 onunload handler(s)
+Test ensures that documentElement.scrollTop/Left properties are available by the time DOMContentLoaded event fires.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS document.documentElement.scrollTop is 2000
+PASS document.documentElement.scrollLeft is 1000
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
+
+
+
+
« no previous file with comments | « LayoutTests/fast/loader/scroll-position-restored-on-reload-at-load-event.html ('k') | Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698