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

Unified Diff: LayoutTests/fast/table/border-collapsing/cached-change-tbody-border-width.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
« no previous file with comments | « LayoutTests/fast/table/border-collapsing/cached-change-tbody-border-color.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/table/border-collapsing/cached-change-tbody-border-width.html
diff --git a/LayoutTests/fast/table/border-collapsing/cached-change-tbody-border-width.html b/LayoutTests/fast/table/border-collapsing/cached-change-tbody-border-width.html
index 9f8cb9adec203d83bf7f31fcdeb1628cd71aa091..83a958ccd86b03a9e2b719c68150516248d20dc4 100644
--- a/LayoutTests/fast/table/border-collapsing/cached-change-tbody-border-width.html
+++ b/LayoutTests/fast/table/border-collapsing/cached-change-tbody-border-width.html
@@ -6,12 +6,16 @@ Here we change tbody border width, expect that cache is invalidated and paint pr
<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("tbody").style.borderWidth = "4px";
+ testRunner.waitUntilDone();
+ runAfterDisplay(function() {
+ document.getElementById("tbody").style.borderWidth = "4px";
+ if (window.testRunner)
+ testRunner.notifyDone();
+ });
}
</script>
</head>
« no previous file with comments | « LayoutTests/fast/table/border-collapsing/cached-change-tbody-border-color.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698