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

Unified Diff: LayoutTests/fast/events/touch/touch-scaled-scrolled.html

Issue 1301523006: Fixed layout tests to be scroll order agnostic (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added comment Created 5 years, 4 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
« no previous file with comments | « LayoutTests/fast/dom/zoom-scroll-page-test-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « LayoutTests/fast/dom/zoom-scroll-page-test-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698