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

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

Issue 2268733002: Update fixed-right-in-page-scale.html in an attempt to make it pass (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased and fixed nit Created 4 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: third_party/WebKit/LayoutTests/fast/repaint/fixed-right-in-page-scale.html
diff --git a/third_party/WebKit/LayoutTests/fast/repaint/fixed-right-in-page-scale.html b/third_party/WebKit/LayoutTests/fast/repaint/fixed-right-in-page-scale.html
index 88ea821caf55e00ef934d1640b9d1883c686a52d..86c6c672e79a58be9e2e1ce358e7291609fad0cc 100644
--- a/third_party/WebKit/LayoutTests/fast/repaint/fixed-right-in-page-scale.html
+++ b/third_party/WebKit/LayoutTests/fast/repaint/fixed-right-in-page-scale.html
@@ -6,10 +6,12 @@
height: 0px;
}
</style>
+ <script src="../../resources/js-test.js"></script>
<script>
window.enablePixelTesting = true;
function scroll() {
+ // Scrolls so that unscaled content is out of view
window.scrollTo(100,100);
}
@@ -20,12 +22,14 @@
}
function test() {
+ if (window.internals)
+ internals.settings.setScrollAnimatorEnabled(false);
+
// Scroll before applying page scale so we scroll the layout viewport.
scroll();
applyScaleFactor();
}
</script>
- <script src="../../resources/js-test.js"></script>
</head>
<body style="height:2000px; width: 2000px; margin:0px;" onload="test();">
<div style="position: fixed; top: -100px; right: 500px; z-index: 1">

Powered by Google App Engine
This is Rietveld 408576698