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

Unified Diff: LayoutTests/css3/filters/blur-filter-page-scroll-parents.html

Issue 207153002: Remove repaint.js include from css3/filters tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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/css3/filters/blur-filter-page-scroll-parents.html
diff --git a/LayoutTests/css3/filters/blur-filter-page-scroll-parents.html b/LayoutTests/css3/filters/blur-filter-page-scroll-parents.html
index 079357f736e57e2df18e33816bdd81df2b041951..1c41643ef63efa769bb2079e33a17317a896a49a 100644
--- a/LayoutTests/css3/filters/blur-filter-page-scroll-parents.html
+++ b/LayoutTests/css3/filters/blur-filter-page-scroll-parents.html
@@ -10,6 +10,7 @@
if (window.testRunner) {
// Force software rendering mode.
window.testRunner.overridePreference("WebKitAcceleratedCompositingEnabled", "0");
+ window.testRunner.waitUntilDone();
}
</script>
<!-- Make sure the mock scrollbars are enabled after the call to overridePreference, otherwise the setting will be overwritten. -->
@@ -47,14 +48,18 @@
height: 1000px;
}
</style>
- <script src="../../fast/repaint/resources/repaint.js"></script>
+ <script src="../../resources/run-after-display.js"></script>
<script type="text/javascript">
function repaintTest() {
- window.scrollTo(0, 100);
+ runAfterDisplay(function() {
+ window.scrollTo(0, 100);
+ if (window.testRunner)
+ testRunner.notifyDone();
+ });
}
</script>
</head>
- <body onload="runRepaintTest()">
+ <body onload="repaintTest()">
<div class="blur">
<div class="layer">
<div id="fixedBox"></div>
« no previous file with comments | « LayoutTests/css3/filters/blur-filter-page-scroll.html ('k') | LayoutTests/css3/filters/blur-filter-page-scroll-self.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698