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

Side by Side Diff: LayoutTests/compositing/squashing/squash-three-layers.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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 if (window.internals) 54 if (window.internals)
55 internals.settings.setLayerSquashingEnabled(true); 55 internals.settings.setLayerSquashingEnabled(true);
56 56
57 function runTest() 57 function runTest()
58 { 58 {
59 if (!window.internals) { 59 if (!window.internals) {
60 alert('This test requires window.internals') 60 alert('This test requires window.internals')
61 return; 61 return;
62 } 62 }
63 63
64 testRunner.display();
65 document.body.textContent = window.internals.layerTreeAsText(document, i nternals.LAYER_TREE_INCLUDES_REPAINT_RECTS); 64 document.body.textContent = window.internals.layerTreeAsText(document, i nternals.LAYER_TREE_INCLUDES_REPAINT_RECTS);
66 document.body.style.whiteSpace = 'pre'; 65 document.body.style.whiteSpace = 'pre';
67 } 66 }
68 </script> 67 </script>
69 </head> 68 </head>
70 <body onload="runTest()"> 69 <body onload="runTest()">
71 <div class="composited box behind"></div> 70 <div class="composited box behind"></div>
72 <div class="box middle"></div> 71 <div class="box middle"></div>
73 <div class="box middle2"></div> 72 <div class="box middle2"></div>
74 <div class="box top"></div> 73 <div class="box top"></div>
75 </body> 74 </body>
OLDNEW
« no previous file with comments | « LayoutTests/compositing/squashing/squash-simple.html ('k') | LayoutTests/compositing/squashing/squash-transform.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698