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

Unified Diff: LayoutTests/fast/table/border-collapsing/cached-cell-remove.html

Issue 196573021: Remove testRunner.display calls from table border collapsing tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/table/border-collapsing/cached-cell-remove.html
diff --git a/LayoutTests/fast/table/border-collapsing/cached-cell-remove.html b/LayoutTests/fast/table/border-collapsing/cached-cell-remove.html
index ca4e17ce71349c149a5f4faf51180f2e2692dc57..15d8a3fcad17981f45a31fd637c0a16412459ef2 100644
--- a/LayoutTests/fast/table/border-collapsing/cached-cell-remove.html
+++ b/LayoutTests/fast/table/border-collapsing/cached-cell-remove.html
@@ -6,13 +6,17 @@ Here we remove cell, expect that cache is invalidated and paint produces expecte
<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();
- barCell = document.getElementById("bar");
- document.getElementById("row").removeChild(barCell);
+ testRunner.waitUntilDone();
+ runAfterDisplay(function() {
+ barCell = document.getElementById("bar");
+ document.getElementById("row").removeChild(barCell);
+ if (window.testRunner)
+ testRunner.notifyDone();
+ });
}
</script>
</head>

Powered by Google App Engine
This is Rietveld 408576698