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

Unified Diff: LayoutTests/fast/repaint/percent-minheight-resize.html

Issue 207383002: Remove repaint.js from layout tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: More expectations 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/fast/repaint/percent-minheight-resize.html
diff --git a/LayoutTests/fast/repaint/percent-minheight-resize.html b/LayoutTests/fast/repaint/percent-minheight-resize.html
index c8b2d26f1e404a3838fb8eada54753c84bac8359..6182512680fa0a994fd4c73d56052b9ba6354c58 100644
--- a/LayoutTests/fast/repaint/percent-minheight-resize.html
+++ b/LayoutTests/fast/repaint/percent-minheight-resize.html
@@ -2,16 +2,21 @@
<html>
<head>
<title>Test for http://bugs.webkit.org/show_bug.cgi?id=79490</title>
- <script src="resources/repaint.js"></script>
+ <script src="../../resources/run-after-display.js"></script>
<script>
+ if (window.testRunner) {
+ testRunner.waitUntilDone();
+ }
function repaintTest()
{
document.getElementById('resize-target').style.height = '200px';
+ if (window.testRunner)
+ testRunner.notifyDone();
}
</script>
</head>
-<body style="margin: 0; padding: 0; overflow: hidden;" onload="runRepaintTest()">
+<body style="margin: 0; padding: 0; overflow: hidden;" onload="runAfterDisplay(repaintTest);">
<div id="resize-target" style="width: 400px; height: 400px; position: absolute;">
<!-- After window resizing, this DIV element should not be visible -->
<div style="width: 100px; min-height: 50%; background-color: red; display: inline-block;"></div>

Powered by Google App Engine
This is Rietveld 408576698