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

Unified Diff: LayoutTests/fast/repaint/fixed-in-page-scale.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: Use setPageScaleFactorLimits(). Created 7 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
Index: LayoutTests/fast/repaint/fixed-in-page-scale.html
diff --git a/LayoutTests/fast/repaint/fixed-in-page-scale.html b/LayoutTests/fast/repaint/fixed-in-page-scale.html
index 53b976959668c5d58d955fd32e67772f69ffdbbb..ed633db8af9168e70224749bb5adadf862a67137 100644
--- a/LayoutTests/fast/repaint/fixed-in-page-scale.html
+++ b/LayoutTests/fast/repaint/fixed-in-page-scale.html
@@ -16,9 +16,8 @@
function scaleWithEventSender() {
var scaleFactor = 2.0;
var scaleOffset = 0;
- if (window.eventSender) {
- eventSender.scalePageBy(scaleFactor, scaleOffset, scaleOffset);
- }
+ if (window.eventSender)
+ eventSender.setPageScaleFactor(scaleFactor, scaleOffset, scaleOffset);
}
function test() {
« no previous file with comments | « LayoutTests/fast/repaint/background-scaling.html ('k') | LayoutTests/fast/repaint/fixed-right-bottom-in-page-scale.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698