| 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>
|
|
|