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

Unified Diff: LayoutTests/fast/events/scale-and-scroll-iframe-window.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/events/scale-and-scroll-iframe-window.html
diff --git a/LayoutTests/fast/events/scale-and-scroll-iframe-window.html b/LayoutTests/fast/events/scale-and-scroll-iframe-window.html
index 13f4a7e6cb098dbc2336be438182b6f6dd53fbc4..a9667a6986bf17eb808429ae400b82fe0bb8710d 100644
--- a/LayoutTests/fast/events/scale-and-scroll-iframe-window.html
+++ b/LayoutTests/fast/events/scale-and-scroll-iframe-window.html
@@ -14,8 +14,8 @@
var frame = document.getElementById('frame');
frame.contentWindow.scrollTo(100,100);
- shouldBe("frame.contentDocument.body.scrollTop", "100");
- shouldBe("frame.contentDocument.body.scrollLeft", "100");
+ shouldBe("frame.contentDocument.scrollingElement.scrollTop", "100");
+ shouldBe("frame.contentDocument.scrollingElement.scrollLeft", "100");
shouldBe("frame.contentWindow.scrollX", "100");
shouldBe("frame.contentWindow.scrollY", "100");
}

Powered by Google App Engine
This is Rietveld 408576698