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

Side by Side Diff: LayoutTests/compositing/squashing/squash-three-layers.html

Issue 785333002: Delete the Layer Squashing runtime feature. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years 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 transform: translatez(0); 5 transform: translatez(0);
6 } 6 }
7 7
8 .box { 8 .box {
9 width: 100px; 9 width: 100px;
10 height: 100px; 10 height: 100px;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 div:hover { 45 div:hover {
46 background-color: green; 46 background-color: green;
47 } 47 }
48 48
49 </style> 49 </style>
50 <script> 50 <script>
51 if (window.testRunner) 51 if (window.testRunner)
52 testRunner.dumpAsText(); 52 testRunner.dumpAsText();
53 53
54 if (window.internals)
55 internals.settings.setLayerSquashingEnabled(true);
56
57 function runTest() 54 function runTest()
58 { 55 {
59 if (!window.internals) { 56 if (!window.internals) {
60 alert('This test requires window.internals') 57 alert('This test requires window.internals')
61 return; 58 return;
62 } 59 }
63 60
64 document.body.textContent = window.internals.layerTreeAsText(document, i nternals.LAYER_TREE_INCLUDES_REPAINT_RECTS); 61 document.body.textContent = window.internals.layerTreeAsText(document, i nternals.LAYER_TREE_INCLUDES_REPAINT_RECTS);
65 document.body.style.whiteSpace = 'pre'; 62 document.body.style.whiteSpace = 'pre';
66 } 63 }
67 </script> 64 </script>
68 </head> 65 </head>
69 <body onload="runTest()"> 66 <body onload="runTest()">
70 <div class="composited box behind"></div> 67 <div class="composited box behind"></div>
71 <div class="box middle"></div> 68 <div class="box middle"></div>
72 <div class="box middle2"></div> 69 <div class="box middle2"></div>
73 <div class="box top"></div> 70 <div class="box top"></div>
74 </body> 71 </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