Index: LayoutTests/fast/events/touch/touch-scaled-scrolled.html |
diff --git a/LayoutTests/fast/events/touch/touch-scaled-scrolled.html b/LayoutTests/fast/events/touch/touch-scaled-scrolled.html |
index 73675ded433e6862fe916f327c13e72daebf3c13..e9a0a1e8666a2da69f863f315d3014538515bbb3 100644 |
--- a/LayoutTests/fast/events/touch/touch-scaled-scrolled.html |
+++ b/LayoutTests/fast/events/touch/touch-scaled-scrolled.html |
@@ -13,9 +13,10 @@ function touched(e) { |
} |
function runTest() { |
+ // Scroll before scaling so we scroll the layout viewport rather than the visual. |
+ window.scrollTo(100,100); |
if (window.internals) |
window.internals.setPageScaleFactor(2); |
- window.scrollTo(100,100); |
if (window.testRunner) { |
testRunner.dumpAsText(); |