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

Unified Diff: LayoutTests/fast/loader/scroll-position-restoration-for-history-api.html

Issue 1133693002: Update most LayoutTests to be agnostic to scrollTopLeftInterop mode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tdresser cr feedback Created 5 years, 7 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-for-history-api.html
diff --git a/LayoutTests/fast/loader/scroll-position-restoration-for-history-api.html b/LayoutTests/fast/loader/scroll-position-restoration-for-history-api.html
index 375b76bfa5c7a5421242b8f1983af4a59c0fff47..14c1555f7290f69a4bacde72aa2ea94ac073b71b 100644
--- a/LayoutTests/fast/loader/scroll-position-restoration-for-history-api.html
+++ b/LayoutTests/fast/loader/scroll-position-restoration-for-history-api.html
@@ -58,8 +58,8 @@ function handleNavigation() {
debug('verifying ' + key);
shouldBeEqualToString('history.state.key', '' + key);
- shouldBe('document.body.scrollLeft', test.expectedScroll[0].toString());
- shouldBe('document.body.scrollTop', test.expectedScroll[1].toString());
+ shouldBe('document.scrollingElement.scrollLeft', test.expectedScroll[0].toString());
+ shouldBe('document.scrollingElement.scrollTop', test.expectedScroll[1].toString());
if (key !== '#1') {
window.history.back();

Powered by Google App Engine
This is Rietveld 408576698