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

Unified Diff: LayoutTests/fast/events/scale-and-scroll-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-window.html
diff --git a/LayoutTests/fast/events/scale-and-scroll-window.html b/LayoutTests/fast/events/scale-and-scroll-window.html
index 0f151222ae8a7d6d968420084825777bc42dca3f..cf80442d50ff2ede1e39d29e1da4d9cac94e74bd 100644
--- a/LayoutTests/fast/events/scale-and-scroll-window.html
+++ b/LayoutTests/fast/events/scale-and-scroll-window.html
@@ -15,8 +15,8 @@
// than device pixels.
window.scrollTo(100,100);
- shouldBe("window.document.body.scrollTop", "100");
- shouldBe("window.document.body.scrollLeft", "100");
+ shouldBe("window.document.scrollingElement.scrollTop", "100");
+ shouldBe("window.document.scrollingElement.scrollLeft", "100");
shouldBe("window.scrollX", "100");
shouldBe("window.scrollY", "100");
}

Powered by Google App Engine
This is Rietveld 408576698