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

Unified Diff: LayoutTests/fast/frames/frame-set-scaling-hit.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/frames/frame-set-scaling-hit.html
diff --git a/LayoutTests/fast/frames/frame-set-scaling-hit.html b/LayoutTests/fast/frames/frame-set-scaling-hit.html
index 5e28efeb94127863fe92a8384f616f00e36f2b8e..47d662758ebfaa4984b51ea8efeef41f136dd75b 100644
--- a/LayoutTests/fast/frames/frame-set-scaling-hit.html
+++ b/LayoutTests/fast/frames/frame-set-scaling-hit.html
@@ -9,7 +9,7 @@
// Scale the page and resize the frames to verify hit testing on the frameset
var leftPanelWidth = window.innerWidth / 8;
var panelHeight = window.innerHeight / 2;
- window.internals.setPageScaleFactor(0.5, 0, 0);
+ eventSender.scalePageBy(0.5, 0, 0);
eventSender.mouseMoveTo(leftPanelWidth, panelHeight / 2);
eventSender.mouseDown();
eventSender.mouseMoveTo(2 * leftPanelWidth, panelHeight / 2);

Powered by Google App Engine
This is Rietveld 408576698