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(); |
} |