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

Unified Diff: LayoutTests/fast/dom/elementFromPoint-scaled-scrolled.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/dom/elementFromPoint-scaled-scrolled.html
diff --git a/LayoutTests/fast/dom/elementFromPoint-scaled-scrolled.html b/LayoutTests/fast/dom/elementFromPoint-scaled-scrolled.html
index 6f646d002ad771592bd87d0c789db18d07839a43..0841351970d6634e13c459b0bb9c868580af50d7 100644
--- a/LayoutTests/fast/dom/elementFromPoint-scaled-scrolled.html
+++ b/LayoutTests/fast/dom/elementFromPoint-scaled-scrolled.html
@@ -8,8 +8,8 @@
<div id="result"></div>
<script>
function runTest() {
- if (window.internals)
- window.internals.setPageScaleFactor(2, 0, 0);
+ if (window.eventSender)
+ window.eventSender.setPageScaleFactor(2, 0, 0);
window.scrollTo(100,100);
if (window.testRunner)
« no previous file with comments | « LayoutTests/fast/dom/Range/scale-page-client-rects.html ('k') | LayoutTests/fast/dom/iframe-inner-size-scaling.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698