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." |