| 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 f47190b630e788a361c6451d0349d1a8266e998e..2f6c663b910c4071790a45711546218d43859ff7 100644
|
| --- a/LayoutTests/http/tests/navigation/resources/frame-with-anchor.html
|
| +++ b/LayoutTests/http/tests/navigation/resources/frame-with-anchor.html
|
| @@ -11,13 +11,13 @@
|
| setTimeout(function() {
|
| // Make sure that the body is taller than the viewport (i.e. scrolling is
|
| // required).
|
| - shouldBeTrue('document.body.offsetHeight > document.documentElement.clientHeight');
|
| + shouldBeTrue('document.documentElement.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);
|
| @@ -37,4 +37,4 @@
|
| <a name="anchor1">This is an anchor point named "anchor1</a>.
|
| <script src="../../../js-test-resources/js-test-post.js"></script>
|
| </body>
|
| -</html>
|
| +</html>
|
|
|