Index: LayoutTests/http/tests/navigation/resources/frame-with-anchor-gbk.html |
diff --git a/LayoutTests/http/tests/navigation/resources/frame-with-anchor-gbk.html b/LayoutTests/http/tests/navigation/resources/frame-with-anchor-gbk.html |
index a4b9c5cc65b0951e6f5a306aa38e43c2b38d47ce..f5727e33d24ffa980356f635fd5569d78c9a4ff1 100644 |
--- a/LayoutTests/http/tests/navigation/resources/frame-with-anchor-gbk.html |
+++ b/LayoutTests/http/tests/navigation/resources/frame-with-anchor-gbk.html |
@@ -15,10 +15,10 @@ |
shouldBeTrue('document.body.offsetHeight > document.documentElement.clientHeight'); |
// We should be scrolled at least a little bit |
- shouldBeTrue('document.body.scrollTop > 0'); |
+ shouldBeTrue('document.documentElement.scrollTop > 0'); |
// And the bottom of the viewable area should be at least 2000 pixels from the top, due to the spacer element above. |
- shouldBeTrue('document.body.scrollTop + document.documentElement.clientHeight > 2000'); |
+ shouldBeTrue('document.documentElement.scrollTop + document.documentElement.clientHeight > 2000'); |
finishJSTest(); |
}, 0); |