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

Unified Diff: LayoutTests/fast/repaint/block-layout-inline-children-replaced.html

Issue 184213004: Fix fast/repaint/block-layout-inline-children-replaced.html (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Re-added the post-test hook as it is needed by svg/dynamic-updates/ tests. Created 6 years, 10 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/TestExpectations ('k') | LayoutTests/fast/repaint/resources/text-based-repaint.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/repaint/block-layout-inline-children-replaced.html
diff --git a/LayoutTests/fast/repaint/block-layout-inline-children-replaced.html b/LayoutTests/fast/repaint/block-layout-inline-children-replaced.html
index bb5c4893e9a3c41de341375217df51c14e5776fa..914f9142188bbd7d41903dfbc57c3127d4730ddc 100644
--- a/LayoutTests/fast/repaint/block-layout-inline-children-replaced.html
+++ b/LayoutTests/fast/repaint/block-layout-inline-children-replaced.html
@@ -11,15 +11,19 @@
</head>
<body style="margin: 0;" onload="runRepaintTest()">
+ <script src="resources/text-based-repaint.js"></script>
<script>
+ window.testIsAsync = true;
+
function repaintTest()
{
- document.getElementById("target").innerHTML +=
+ var target = document.getElementById("target");
+ target.innerHTML +=
'<img style="height: 100px;" src="resources/apple.jpg" >';
+ target.firstChild.addEventListener("load", finishRepaintTest, false);
}
</script>
- <script src="resources/text-based-repaint.js"></script>
<p>This is a test for regression against <a href="https://bugs.webkit.org/show_bug.cgi?id=40142">https://bugs.webkit.org/show_bug.cgi?id=40142</a></p>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/repaint/resources/text-based-repaint.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698