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() |