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

Side by Side Diff: LayoutTests/compositing/squashing/squashed-repaints.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 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../resources/run-after-display.js"></script> 4 <script src="../../resources/run-after-display.js"></script>
5 <style> 5 <style>
6 div { 6 div {
7 position: absolute; 7 position: absolute;
8 z-index: 1; 8 z-index: 1;
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 display: none; 47 display: none;
48 } 48 }
49 49
50 </style> 50 </style>
51 <script> 51 <script>
52 if (window.testRunner) { 52 if (window.testRunner) {
53 testRunner.dumpAsText(); 53 testRunner.dumpAsText();
54 testRunner.waitUntilDone(); 54 testRunner.waitUntilDone();
55 } 55 }
56 56
57 if (window.internals)
58 internals.settings.setLayerSquashingEnabled(true);
59
60 function runTest() 57 function runTest()
61 { 58 {
62 if (!window.internals) 59 if (!window.internals)
63 return; 60 return;
64 runAfterDisplay(executeTestCases); 61 runAfterDisplay(executeTestCases);
65 } 62 }
66 63
67 function executeTestCases() 64 function executeTestCases()
68 { 65 {
69 // Case 1 66 // Case 1
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 CASE 4, overlap2 and overlap3 change color: 126 CASE 4, overlap2 and overlap3 change color:
130 <pre id="Case4"></pre> 127 <pre id="Case4"></pre>
131 128
132 CASE 5, overlap3 and overlap1 change color: 129 CASE 5, overlap3 and overlap1 change color:
133 <pre id="Case5"></pre> 130 <pre id="Case5"></pre>
134 </div> 131 </div>
135 132
136 </body> 133 </body>
137 134
138 </html> 135 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698