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

Side by Side Diff: LayoutTests/compositing/squashing/squash-onto-transform-backing.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 4
5 .compositedAndRotated { 5 .compositedAndRotated {
6 -webkit-transform: translatez(0) rotate(45deg); 6 -webkit-transform: translatez(0) rotate(45deg);
7 } 7 }
8 8
9 .box { 9 .box {
10 width: 100px; 10 width: 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="compositedAndRotated box behind"></div> 63 <div class="compositedAndRotated 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
« no previous file with comments | « LayoutTests/compositing/squashing/squash-onto-nephew.html ('k') | LayoutTests/compositing/squashing/squash-simple.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698