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

Side by Side Diff: LayoutTests/compositing/repaint/invalidations-on-composited-layers.html

Issue 24438004: Rename testRunner.dumpAsText(true) to testRunner.dumpAsTextWithPixelResults() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: more tests Created 7 years, 3 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 2
3 <!-- 3 <!--
4 This test checks that repaint testing works with composited layers. 4 This test checks that repaint testing works with composited layers.
5 --> 5 -->
6 6
7 <html> 7 <html>
8 <head> 8 <head>
9 <style type="text/css"> 9 <style type="text/css">
10 #parent { 10 #parent {
(...skipping 19 matching lines...) Expand all
30 if (!window.testRunner) { 30 if (!window.testRunner) {
31 alert('This test requires testRunner to run!'); 31 alert('This test requires testRunner to run!');
32 return; 32 return;
33 } 33 }
34 34
35 if (!window.internals) { 35 if (!window.internals) {
36 alert('This test requires window.interals to run!'); 36 alert('This test requires window.interals to run!');
37 return; 37 return;
38 } 38 }
39 39
40 testRunner.dumpAsText(false); 40 testRunner.dumpAsText();
41 41
42 var parent = document.getElementById('parent'); 42 var parent = document.getElementById('parent');
43 var child = document.getElementById('child'); 43 var child = document.getElementById('child');
44 44
45 // Ensure that we've recalculated style before starting repaint 45 // Ensure that we've recalculated style before starting repaint
46 // tracking (we don't want our lists of invalidated rects to be 46 // tracking (we don't want our lists of invalidated rects to be
47 // polluted). 47 // polluted).
48 document.body.offsetTop; 48 document.body.offsetTop;
49 window.internals.startTrackingRepaints(document); 49 window.internals.startTrackingRepaints(document);
50 50
(...skipping 14 matching lines...) Expand all
65 }); 65 });
66 </script> 66 </script>
67 </head> 67 </head>
68 <body> 68 <body>
69 <pre id="text"></pre> 69 <pre id="text"></pre>
70 <div id="parent"> 70 <div id="parent">
71 <div id="child"></div> 71 <div id="child"></div>
72 </div> 72 </div>
73 </body> 73 </body>
74 </html> 74 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698