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

Side by Side Diff: LayoutTests/fast/repaint/crbug-371640.html

Issue 316193003: Fix some async repaint tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="resources/text-based-repaint.js"></script> 2 <script src="resources/text-based-repaint.js"></script>
3 <script src="../../resources/run-after-display.js"></script>
4 <script> 3 <script>
5 if (window.testRunner)
6 window.jsTestIsAsync = true;
7
8 function repaintTest() 4 function repaintTest()
9 { 5 {
10 document.getElementById('node').remove(); 6 document.getElementById('node').remove();
11
12 if (window.testRunner) {
13 runAfterDisplay(function() {
14 testRunner.notifyDone();
Xianzhu 2014/06/05 18:09:01 This is unnecessary, because the repaint rects has
15 });
16 }
17 } 7 }
18 onload = runRepaintTest; 8 onload = runRepaintTest;
19 </script> 9 </script>
20 <style> 10 <style>
21 #wrapper { 11 #wrapper {
22 visibility: hidden; 12 visibility: hidden;
23 position: absolute; 13 position: absolute;
24 width: 600px; 14 width: 600px;
25 } 15 }
26 .outer { float: left; } 16 .outer { float: left; }
(...skipping 27 matching lines...) Expand all
54 </div> 44 </div>
55 </div> 45 </div>
56 46
57 <div id='node' class="outer"> 47 <div id='node' class="outer">
58 <div id='to_remove_inner' class="inner"> 48 <div id='to_remove_inner' class="inner">
59 <div id='to_remove' class="item">&nbsp;</div> 49 <div id='to_remove' class="item">&nbsp;</div>
60 </div> 50 </div>
61 </div> 51 </div>
62 </div> 52 </div>
63 </div> 53 </div>
OLDNEW
« no previous file with comments | « LayoutTests/fast/repaint/bugzilla-6473-expected.txt ('k') | LayoutTests/fast/repaint/crbug-371640-2.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698