| Index: LayoutTests/fast/table/border-collapsing/cached-change-row-border-color.html
|
| diff --git a/LayoutTests/fast/table/border-collapsing/cached-change-row-border-color.html b/LayoutTests/fast/table/border-collapsing/cached-change-row-border-color.html
|
| index a25f17ba0a9e55941fb30c42bf90e399e17f1a38..3292cc2d6515cf50c09d2a1da5f8a8a9506f1bd6 100644
|
| --- a/LayoutTests/fast/table/border-collapsing/cached-change-row-border-color.html
|
| +++ b/LayoutTests/fast/table/border-collapsing/cached-change-row-border-color.html
|
| @@ -6,12 +6,16 @@ Here we change row border color, expect that cache is invalidated and paint prod
|
| <head>
|
| <title></title>
|
| <link rel="stylesheet" href="resources/cached.css">
|
| + <script src="../../../resources/run-after-display.js"></script>
|
| <script type="text/javascript">
|
| function test() {
|
| - document.body.offsetTop;
|
| if (window.testRunner)
|
| - testRunner.display();
|
| - document.getElementById("row").style.borderColor = "yellow";
|
| + testRunner.waitUntilDone();
|
| + runAfterDisplay(function() {
|
| + document.getElementById("row").style.borderColor = "yellow";
|
| + if (window.testRunner)
|
| + testRunner.notifyDone();
|
| + });
|
| }
|
| </script>
|
| </head>
|
|
|