Index: LayoutTests/fast/table/border-collapsing/cached-change-col-border-width.html |
diff --git a/LayoutTests/fast/table/border-collapsing/cached-change-col-border-width.html b/LayoutTests/fast/table/border-collapsing/cached-change-col-border-width.html |
index 1fd66610de394c1903cb12b9e1097355f7dbfddc..5140ec6ee0d24d1b6be5b7cc40918d21f920475e 100644 |
--- a/LayoutTests/fast/table/border-collapsing/cached-change-col-border-width.html |
+++ b/LayoutTests/fast/table/border-collapsing/cached-change-col-border-width.html |
@@ -6,12 +6,16 @@ Here we change col border width, 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("col").style.borderWidth = "4px"; |
+ testRunner.waitUntilDone(); |
+ runAfterDisplay(function() { |
+ document.getElementById("col").style.borderWidth = "4px"; |
+ if (window.testRunner) |
+ testRunner.notifyDone(); |
+ }); |
} |
</script> |
</head> |