| Index: LayoutTests/css3/flexbox/repaint-during-resize-no-flex.html
|
| diff --git a/LayoutTests/css3/flexbox/repaint-during-resize-no-flex.html b/LayoutTests/css3/flexbox/repaint-during-resize-no-flex.html
|
| index 6b1cbd960c2756ae0c3d017e551bcecc80defef4..7e655b2097c77d1b770604756ecd4fa800c0efec 100644
|
| --- a/LayoutTests/css3/flexbox/repaint-during-resize-no-flex.html
|
| +++ b/LayoutTests/css3/flexbox/repaint-during-resize-no-flex.html
|
| @@ -2,6 +2,7 @@
|
| <html>
|
| <head>
|
| <link rel="stylesheet" href="resources/flexbox.css">
|
| +<script src="../../resources/run-after-display.js"></script>
|
| <style>
|
| body {
|
| margin: 0;
|
| @@ -37,14 +38,13 @@ function resizeFlexItem() {
|
| window.onload = function() {
|
| if (window.testRunner) {
|
| testRunner.waitUntilDone();
|
| - testRunner.display();
|
| } else {
|
| document.body.appendChild(document.createTextNode(
|
| "Tests to make sure that when changing the size of one flex item changes the "
|
| + "location of another flex item, we properly repaint. The repaint rect should "
|
| + "include the three flex items."));
|
| }
|
| - setTimeout(resizeFlexItem, 0);
|
| + runAfterDisplay(resizeFlexItem, 0);
|
| };
|
| </script>
|
| </body></html>
|
|
|