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

Unified Diff: LayoutTests/fast/events/scale-and-scroll-iframe-body.html

Issue 18546003: Fix tests to avoid page scale reset when setting page scale. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed more tests, hopefully that's all (on Linux). Created 7 years, 6 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/events/scale-and-scroll-iframe-body.html
diff --git a/LayoutTests/fast/events/scale-and-scroll-iframe-body.html b/LayoutTests/fast/events/scale-and-scroll-iframe-body.html
index dcc703cbe57e62bc2846dea0c71ee2c73b464723..0a518c7a5f3756f6fa7fa70baf37842bdd89e9a4 100644
--- a/LayoutTests/fast/events/scale-and-scroll-iframe-body.html
+++ b/LayoutTests/fast/events/scale-and-scroll-iframe-body.html
@@ -24,8 +24,8 @@
function scaleWithEventSender() {
var scaleFactor = 0.5;
var scaleOffset = 0;
- if (window.internals) {
- window.internals.setPageScaleFactor(scaleFactor, scaleOffset, scaleOffset);
jochen (gone - plz use gerrit) 2013/07/02 19:03:55 should we delete window.internals.setPageScaleFact
aelias_OOO_until_Jul13 2013/07/02 22:59:33 Yes, I think we should converge to a single page-s
+ if (window.eventSender) {
+ eventSender.scalePageBy(scaleFactor, scaleOffset, scaleOffset);
}
}
« no previous file with comments | « no previous file | LayoutTests/fast/events/scale-and-scroll-iframe-window.html » ('j') | Source/WebKit/chromium/src/WebViewImpl.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698