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

Side by Side Diff: LayoutTests/compositing/squashing/squashed-layer-loses-graphicslayer.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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 display: none; 51 display: none;
52 } 52 }
53 53
54 </style> 54 </style>
55 <script> 55 <script>
56 if (window.testRunner) { 56 if (window.testRunner) {
57 testRunner.dumpAsText(); 57 testRunner.dumpAsText();
58 testRunner.waitUntilDone(); 58 testRunner.waitUntilDone();
59 } 59 }
60 60
61 if (window.internals)
62 internals.settings.setLayerSquashingEnabled(true);
63
64 function runTest() 61 function runTest()
65 { 62 {
66 if (!window.internals) 63 if (!window.internals)
67 return; 64 return;
68 runAfterDisplay(executeTestCases); 65 runAfterDisplay(executeTestCases);
69 } 66 }
70 67
71 function executeTestCases() 68 function executeTestCases()
72 { 69 {
73 // Case 1 70 // Case 1
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 <pre id="Case1"></pre> 102 <pre id="Case1"></pre>
106 103
107 CASE 2, The original composited layer is no longer composited, which then al so removes all squashing layers. The important point is that there should be an appropriate repaint to the root GraphicsLayer: 104 CASE 2, The original composited layer is no longer composited, which then al so removes all squashing layers. The important point is that there should be an appropriate repaint to the root GraphicsLayer:
108 <pre id="Case2"></pre> 105 <pre id="Case2"></pre>
109 106
110 </div> 107 </div>
111 108
112 </body> 109 </body>
113 110
114 </html> 111 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698