Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Unified Diff: LayoutTests/fast/autoresize/autoresize-with-iframe.html

Issue 1133693002: Update most LayoutTests to be agnostic to scrollTopLeftInterop mode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tdresser cr feedback Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>
« no previous file with comments | « LayoutTests/editing/pasteboard/copy-crash.html ('k') | LayoutTests/fast/autoresize/autoresize-with-iframe-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698