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

Unified Diff: LayoutTests/fast/dom/resources/check-scroll-position-onload.html

Issue 26472003: Fix improper scrollTop/Left usage in LayoutTests/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@issue_304768
Patch Set: Fix improper scrollTop/Left usage in LayoutTests/ 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/dom/resources/check-scroll-position-onload.html
diff --git a/LayoutTests/fast/dom/resources/check-scroll-position-onload.html b/LayoutTests/fast/dom/resources/check-scroll-position-onload.html
index f45bcf7bcf33e0ad2c24950648a8959017d793d3..52a4ce984189d46bf33cdd74713cf23d775cb4c9 100644
--- a/LayoutTests/fast/dom/resources/check-scroll-position-onload.html
+++ b/LayoutTests/fast/dom/resources/check-scroll-position-onload.html
@@ -7,7 +7,7 @@
<script type="text/javascript">
function load() {
var result = document.getElementById("result");
- result.innerHTML = (document.body.scrollTop == 0) ? "PASS" : "FAIL";
+ result.innerHTML = (document.documentElement.scrollTop == 0) ? "PASS" : "FAIL";
if (window.testRunner) {
testRunner.notifyDone();
}
« no previous file with comments | « LayoutTests/editing/input/resources/reveal-utilities.js ('k') | LayoutTests/fast/events/mouse-cursor-multiframecur.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698