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

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

Issue 316193003: Fix some async repaint tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: NeedsRebaseline more tests 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();
15 });
16 }
17 } 7 }
18 onload = runRepaintTest; 8 onload = runRepaintTest;
19 </script> 9 </script>
20 10
21 <style> 11 <style>
22 #wrapper { 12 #wrapper {
23 visibility: hidden; 13 visibility: hidden;
24 position: absolute; 14 position: absolute;
25 width: 600px; 15 width: 600px;
26 } 16 }
(...skipping 30 matching lines...) Expand all
57 </div> 47 </div>
58 </div> 48 </div>
59 49
60 <div id='node' class='outer'> 50 <div id='node' class='outer'>
61 <div id='to_remove_inner' class='inner'> 51 <div id='to_remove_inner' class='inner'>
62 <div id='to_remove' class='item'> </div> 52 <div id='to_remove' class='item'> </div>
63 </div> 53 </div>
64 </div> 54 </div>
65 </div> 55 </div>
66 </div> 56 </div>
OLDNEW
« no previous file with comments | « LayoutTests/fast/repaint/crbug-371640.html ('k') | LayoutTests/fast/repaint/crbug-371640-3.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698