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

Unified Diff: LayoutTests/fast/scrolling/fractional-scroll-offset-document.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/scrolling/fractional-scroll-offset-document.html
diff --git a/LayoutTests/fast/scrolling/fractional-scroll-offset-document.html b/LayoutTests/fast/scrolling/fractional-scroll-offset-document.html
index a37c6717080df4e9d86b53ff1f7e1944e714cdaa..dd4090cdf6b9564b6fce456033561f5840035cc1 100644
--- a/LayoutTests/fast/scrolling/fractional-scroll-offset-document.html
+++ b/LayoutTests/fast/scrolling/fractional-scroll-offset-document.html
@@ -14,8 +14,8 @@ function checkScrollOffset(offset_x, offset_y)
offset_x = Math.floor(offset_x);
offset_y = Math.floor(offset_y);
}
- shouldBeCloseTo('document.body.scrollTop', offset_y, floatPrecision);
- shouldBeCloseTo('document.body.scrollLeft', offset_x, floatPrecision);
+ shouldBeCloseTo('document.scrollingElement.scrollTop', offset_y, floatPrecision);
+ shouldBeCloseTo('document.scrollingElement.scrollLeft', offset_x, floatPrecision);
}
function scroll()

Powered by Google App Engine
This is Rietveld 408576698