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

Side by Side Diff: LayoutTests/compositing/squashing/squash-transform.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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 if (window.internals) 47 if (window.internals)
48 internals.settings.setLayerSquashingEnabled(true); 48 internals.settings.setLayerSquashingEnabled(true);
49 49
50 function runTest() 50 function runTest()
51 { 51 {
52 if (!window.internals) { 52 if (!window.internals) {
53 alert('This test requires window.internals') 53 alert('This test requires window.internals')
54 return; 54 return;
55 } 55 }
56 56
57 testRunner.display();
58 document.body.textContent = window.internals.layerTreeAsText(document, i nternals.LAYER_TREE_INCLUDES_REPAINT_RECTS); 57 document.body.textContent = window.internals.layerTreeAsText(document, i nternals.LAYER_TREE_INCLUDES_REPAINT_RECTS);
59 document.body.style.whiteSpace = 'pre'; 58 document.body.style.whiteSpace = 'pre';
60 } 59 }
61 </script> 60 </script>
62 </head> 61 </head>
63 <body onload="runTest()"> 62 <body onload="runTest()">
64 <div class="composited box behind"></div> 63 <div class="composited box behind"></div>
65 <div class="box middle"></div> 64 <div class="box middle"></div>
66 <div class="box top"></div> 65 <div class="box top"></div>
67 </body> 66 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698