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

Side by Side 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, 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/repaint/resources/text-based-repaint.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <head> 1 <head>
2 <title>This is a test for regression against https://bugs.webkit.org/show_bug.cg i?id=40142</title> 2 <title>This is a test for regression against https://bugs.webkit.org/show_bug.cg i?id=40142</title>
3 <style> 3 <style>
4 .target { 4 .target {
5 width: 400px; 5 width: 400px;
6 height: 150px; 6 height: 150px;
7 text-align: center; 7 text-align: center;
8 border: 1px solid #ddd; 8 border: 1px solid #ddd;
9 } 9 }
10 </style> 10 </style>
11 </head> 11 </head>
12 12
13 <body style="margin: 0;" onload="runRepaintTest()"> 13 <body style="margin: 0;" onload="runRepaintTest()">
14 <script src="resources/text-based-repaint.js"></script>
14 <script> 15 <script>
16 window.testIsAsync = true;
17
15 function repaintTest() 18 function repaintTest()
16 { 19 {
17 document.getElementById("target").innerHTML += 20 var target = document.getElementById("target");
21 target.innerHTML +=
18 '<img style="height: 100px;" src="resources/apple.jpg" >'; 22 '<img style="height: 100px;" src="resources/apple.jpg" >';
23 target.firstChild.addEventListener("load", finishRepaintTest, false) ;
19 } 24 }
20 </script> 25 </script>
21 26
22 <script src="resources/text-based-repaint.js"></script>
23 27
24 <p>This is a test for regression against <a href="https://bugs.webkit.org/sh ow_bug.cgi?id=40142">https://bugs.webkit.org/show_bug.cgi?id=40142</a></p> 28 <p>This is a test for regression against <a href="https://bugs.webkit.org/sh ow_bug.cgi?id=40142">https://bugs.webkit.org/show_bug.cgi?id=40142</a></p>
25 29
26 <div> 30 <div>
27 <div class="target" id="target"></div> 31 <div class="target" id="target"></div>
28 </div> 32 </div>
29 </body> 33 </body>
OLDNEW
« 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