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

Unified Diff: LayoutTests/fast/repaint/fixed-right-in-page-scale.html

Issue 1317003002: Fixed (more) layout tests to be scroll order agnostic (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « LayoutTests/fast/repaint/fixed-in-page-scale.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/repaint/fixed-right-in-page-scale.html
diff --git a/LayoutTests/fast/repaint/fixed-right-in-page-scale.html b/LayoutTests/fast/repaint/fixed-right-in-page-scale.html
index ac9e21259e4b3e25595879ed2e39d39e74bd3066..88ea821caf55e00ef934d1640b9d1883c686a52d 100644
--- a/LayoutTests/fast/repaint/fixed-right-in-page-scale.html
+++ b/LayoutTests/fast/repaint/fixed-right-in-page-scale.html
@@ -13,15 +13,16 @@
window.scrollTo(100,100);
}
- function scaleWithEventSender() {
+ function applyScaleFactor() {
var scaleFactor = 2.0;
if (window.internals)
internals.setPageScaleFactor(scaleFactor);
}
function test() {
- scaleWithEventSender();
+ // Scroll before applying page scale so we scroll the layout viewport.
scroll();
+ applyScaleFactor();
}
</script>
<script src="../../resources/js-test.js"></script>
« no previous file with comments | « LayoutTests/fast/repaint/fixed-in-page-scale.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698