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

Side by Side Diff: LayoutTests/compositing/squashing/squash-onto-nephew.html

Issue 181653006: Remove testRunner.display() from most compositing/ tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Revert change to plugin test 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <head> 2 <head>
3 <style> 3 <style>
4 .composited { 4 .composited {
5 -webkit-transform: translatez(0); 5 -webkit-transform: translatez(0);
6 } 6 }
7 7
8 .box { 8 .box {
9 width: 100px; 9 width: 100px;
10 height: 100px; 10 height: 100px;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 if (window.internals) 65 if (window.internals)
66 internals.settings.setLayerSquashingEnabled(true); 66 internals.settings.setLayerSquashingEnabled(true);
67 67
68 function runTest() 68 function runTest()
69 { 69 {
70 if (!window.internals) { 70 if (!window.internals) {
71 alert('This test requires window.internals') 71 alert('This test requires window.internals')
72 return; 72 return;
73 } 73 }
74 74
75 testRunner.display();
76 document.body.textContent = window.internals.layerTreeAsText(document, i nternals.LAYER_TREE_INCLUDES_REPAINT_RECTS); 75 document.body.textContent = window.internals.layerTreeAsText(document, i nternals.LAYER_TREE_INCLUDES_REPAINT_RECTS);
77 document.body.style.whiteSpace = 'pre'; 76 document.body.style.whiteSpace = 'pre';
78 } 77 }
79 </script> 78 </script>
80 </head> 79 </head>
81 <body onload="runTest()"> 80 <body onload="runTest()">
82 <div class="container"> 81 <div class="container">
83 <div class="composited box behind"></div> 82 <div class="composited box behind"></div>
84 <div class="box middle"></div> 83 <div class="box middle"></div>
85 </div> 84 </div>
86 <div class="box middle2"></div> 85 <div class="box middle2"></div>
87 <div class="box top"></div> 86 <div class="box top"></div>
88 </body> 87 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698