Index: LayoutTests/http/tests/navigation/resources/frame-with-anchor.html |
diff --git a/LayoutTests/http/tests/navigation/resources/frame-with-anchor.html b/LayoutTests/http/tests/navigation/resources/frame-with-anchor.html |
index 4253f818024d898737cc90cf57ec01e53614a46a..4a33e33f9b52fc3d32310fe86eea300c5d6f3350 100644 |
--- a/LayoutTests/http/tests/navigation/resources/frame-with-anchor.html |
+++ b/LayoutTests/http/tests/navigation/resources/frame-with-anchor.html |
@@ -14,10 +14,10 @@ |
shouldBeTrue('document.documentElement.offsetHeight > document.documentElement.clientHeight'); |
// We should be scrolled at least a little bit |
- shouldBeTrue('document.body.scrollTop > 0'); |
+ shouldBeTrue('document.scrollingElement.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.body.clientHeight > 2000'); |
+ shouldBeTrue('document.scrollingElement.scrollTop + document.body.clientHeight > 2000'); |
finishJSTest(); |
}, 0); |