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

Unified Diff: LayoutTests/css3/filters/filter-repaint-shadow-rotated.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
« no previous file with comments | « LayoutTests/css3/filters/filter-repaint-shadow-clipped.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/css3/filters/filter-repaint-shadow-rotated.html
diff --git a/LayoutTests/css3/filters/filter-repaint-shadow-rotated.html b/LayoutTests/css3/filters/filter-repaint-shadow-rotated.html
index 71b98f0bfb6e7a6e37f75f7b7de025fdd80bf8a4..d06bcba4da4c344560736a627564adb50705c564 100644
--- a/LayoutTests/css3/filters/filter-repaint-shadow-rotated.html
+++ b/LayoutTests/css3/filters/filter-repaint-shadow-rotated.html
@@ -15,17 +15,17 @@
overflow: hidden;
background: red;
}
-
+
.empty_box {
height: 50px;
}
-
+
.box {
height: 100px;
width: 100px;
background-color: green;
}
-
+
.before {
background-color: transparent;
}
@@ -37,20 +37,23 @@
}
</style>
- <script src="../../fast/repaint/resources/repaint.js"></script>
+ <script src="../../resources/run-after-display.js"></script>
<script>
- if (window.testRunner)
+ if (window.testRunner) {
testRunner.dumpAsTextWithPixelResults();
-
+ testRunner.waitUntilDone();
+ }
function repaintTest()
{
- document.querySelector(".before").classList.remove("before");
+ runAfterDisplay(function() {
+ document.querySelector(".before").classList.remove("before");
+ if (window.testRunner)
+ testRunner.notifyDone();
+ });
}
</script>
</head>
-
-<body onload="runRepaintTest()">
-
+<body onload="repaintTest()">
<div class="clipping_box">
<div class="blur">
<div class="empty_box"></div>
« no previous file with comments | « LayoutTests/css3/filters/filter-repaint-shadow-clipped.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698