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

Unified Diff: LayoutTests/compositing/rtl/rtl-fixed-overflow-scrolled.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/compositing/rtl/rtl-fixed-overflow-scrolled.html
diff --git a/LayoutTests/compositing/rtl/rtl-fixed-overflow-scrolled.html b/LayoutTests/compositing/rtl/rtl-fixed-overflow-scrolled.html
index 372ddef1df2a12e1c84cdc0145985a731af3c6cd..cd6faa4ca956c524e29fba028b1d12a3972b9798 100644
--- a/LayoutTests/compositing/rtl/rtl-fixed-overflow-scrolled.html
+++ b/LayoutTests/compositing/rtl/rtl-fixed-overflow-scrolled.html
@@ -45,7 +45,7 @@
}
// The far left coordinate of the document varies by window width.
- var offset = document.body.clientWidth - document.body.scrollWidth + 1;
+ var offset = document.body.clientWidth - document.scrollingElement.scrollWidth + 1;
window.setTimeout(function() {
window.scrollTo(offset, 0);
« no previous file with comments | « LayoutTests/compositing/rtl/rtl-absolute-overflow-scrolled.html ('k') | LayoutTests/compositing/scissor-out-of-viewport.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698