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

Unified Diff: LayoutTests/editing/input/reveal-selection-having-stored-scroll-position.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
« no previous file with comments | « LayoutTests/dialog/modal-dialog-scroll-height.html ('k') | LayoutTests/editing/pasteboard/copy-crash.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/editing/input/reveal-selection-having-stored-scroll-position.html
diff --git a/LayoutTests/editing/input/reveal-selection-having-stored-scroll-position.html b/LayoutTests/editing/input/reveal-selection-having-stored-scroll-position.html
index 90cbde1917f654d6ca8e60734a604a2b96a87f75..64fcd8dfec6c17527b9579bec1599b781786b589 100644
--- a/LayoutTests/editing/input/reveal-selection-having-stored-scroll-position.html
+++ b/LayoutTests/editing/input/reveal-selection-having-stored-scroll-position.html
@@ -21,7 +21,7 @@ function navigate()
eventSender.keyDown("a");
setTimeout(function () {
- var scrollPosition = document.body.scrollTop;
+ var scrollPosition = document.scrollingElement.scrollTop;
var result = document.getElementById("result");
if (scrollPosition != 100)
result.innerHTML = "Success! The scroll position in history was not restored after navigation as input field is revealed on selection."
« no previous file with comments | « LayoutTests/dialog/modal-dialog-scroll-height.html ('k') | LayoutTests/editing/pasteboard/copy-crash.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698