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

Unified Diff: LayoutTests/fast/css/sticky/sticky-top-zoomed-expected.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/css/sticky/sticky-top-zoomed-expected.html
diff --git a/LayoutTests/fast/css/sticky/sticky-top-zoomed-expected.html b/LayoutTests/fast/css/sticky/sticky-top-zoomed-expected.html
index e65ebcd4dc4c0d5863c07a9c3dc524b03c5ae65f..878acea1b4fd5c85f0b9c261ef695e3a24208495 100644
--- a/LayoutTests/fast/css/sticky/sticky-top-zoomed-expected.html
+++ b/LayoutTests/fast/css/sticky/sticky-top-zoomed-expected.html
@@ -48,7 +48,7 @@
function doTest()
{
if (window.eventSender)
- eventSender.scalePageBy(1.5);
+ eventSender.setPageScaleFactor(1.5);
}
window.addEventListener('load', doTest, false);
</script>
« no previous file with comments | « LayoutTests/fast/css/sticky/sticky-top-zoomed.html ('k') | LayoutTests/fast/dom/Element/scale-page-bounding-client-rect.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698