Index: LayoutTests/fast/autoresize/autoresize-with-iframe.html |
diff --git a/LayoutTests/fast/autoresize/autoresize-with-iframe.html b/LayoutTests/fast/autoresize/autoresize-with-iframe.html |
index aff02c660789f16c6ce924434308b0a3c1082e61..b8d6f557e9e47a1d09cdb7de0cda25b1064f5198 100644 |
--- a/LayoutTests/fast/autoresize/autoresize-with-iframe.html |
+++ b/LayoutTests/fast/autoresize/autoresize-with-iframe.html |
@@ -12,8 +12,8 @@ if (window.testRunner) { |
function run() |
{ |
var frameWindow = window.frames['frame']; |
- frameWindow.postMessage("shouldBe('document.body.scrollWidth', 400)", "*"); |
- frameWindow.postMessage("shouldBe('document.body.scrollHeight', 200)", "*"); |
+ frameWindow.postMessage("shouldBe('document.scrollingElement.scrollWidth', 400)", "*"); |
+ frameWindow.postMessage("shouldBe('document.scrollingElement.scrollHeight', 200)", "*"); |
frameWindow.postMessage("log('DONE'); if (window.testRunner) testRunner.notifyDone();", "*"); |
} |
</script> |