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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/loader/scroll-restore-should-happen-during-load-expected.txt

Issue 1561573004: Fix bug where scroll position was being restored after navigation completes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Restore to previous type Created 4 years, 11 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 unified diff | Download patch
OLDNEW
(Empty)
1 Test ensures that frame scroll position is only restored during the navigation p rocess but does not occur after navigation is complete for same document navigat ions.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS document.scrollingElement.scrollLeft is 0
7 PASS document.scrollingElement.scrollTop is 0
8 Verify that scroll position restored correctly during navigation.
9 PASS document.scrollingElement.scrollLeft is 100
10 PASS document.scrollingElement.scrollTop is 100
11 PASS document.scrollingElement.scrollLeft is 0
12 PASS document.scrollingElement.scrollTop is 0
13 Verify that scroll position is not restored again after navigation is complete.
14 PASS document.scrollingElement.scrollLeft is 0
15 PASS document.scrollingElement.scrollTop is 0
16 PASS successfullyParsed is true
17
18 TEST COMPLETE
19
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698