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

Unified Diff: LayoutTests/fast/frames/frame-set-rotation-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-rotation-hit.html
diff --git a/LayoutTests/fast/frames/frame-set-rotation-hit.html b/LayoutTests/fast/frames/frame-set-rotation-hit.html
index 548a1d376a5572e1b3f6621f1dd459c2c6423d84..c0ae32c095fe50dcd0895fc5ab745cff5d57b9ff 100644
--- a/LayoutTests/fast/frames/frame-set-rotation-hit.html
+++ b/LayoutTests/fast/frames/frame-set-rotation-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(panelHeight / 2, leftPanelWidth);
eventSender.mouseDown();
eventSender.mouseMoveTo(panelHeight / 2, 2 * leftPanelWidth);

Powered by Google App Engine
This is Rietveld 408576698