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

Unified Diff: LayoutTests/compositing/overflow/paint-neg-z-order-descendants-into-scrolling-contents-layer.html

Issue 181653006: Remove testRunner.display() from most compositing/ tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Revert change to plugin test Created 6 years, 10 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/compositing/overflow/paint-neg-z-order-descendants-into-scrolling-contents-layer.html
diff --git a/LayoutTests/compositing/overflow/paint-neg-z-order-descendants-into-scrolling-contents-layer.html b/LayoutTests/compositing/overflow/paint-neg-z-order-descendants-into-scrolling-contents-layer.html
index a5f3e530e25577d66008b809f37a62c92e374f5e..34bb007876e82e98b3a874938ee8d8a15ce61024 100644
--- a/LayoutTests/compositing/overflow/paint-neg-z-order-descendants-into-scrolling-contents-layer.html
+++ b/LayoutTests/compositing/overflow/paint-neg-z-order-descendants-into-scrolling-contents-layer.html
@@ -3,6 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Paint neg z-order descendants into the composited scrolling layer</title>
+ <script src="../../resources/run-after-display.js"></script>
<style>
.scrollable {
overflow: scroll;
@@ -35,7 +36,6 @@
textarea.scrollTop = 40;
if (window.testRunner)
window.testRunner.notifyDone();
- window.testRunner.display();
}
function doTest()
@@ -43,9 +43,7 @@
var textarea = document.getElementById('container');
textarea.focus();
textarea.selectionStart = textarea.selectionEnd = 0;
- if (window.testRunner)
- window.testRunner.display();
- window.setTimeout(endTest, 100);
+ runAfterDisplay(endTest);
}
window.addEventListener('load', doTest, false);

Powered by Google App Engine
This is Rietveld 408576698