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

Side by Side Diff: LayoutTests/compositing/squashing/squashed-layer-loses-graphicslayer.html

Issue 898783003: Move rendering/RenderLayer* to layout/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 <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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 document.getElementById('testResults').style.display = "block"; 80 document.getElementById('testResults').style.display = "block";
81 81
82 if (window.testRunner) 82 if (window.testRunner)
83 testRunner.notifyDone(); 83 testRunner.notifyDone();
84 } 84 }
85 </script> 85 </script>
86 </head> 86 </head>
87 87
88 <body onload="runTest()"> 88 <body onload="runTest()">
89 89
90 <p>A squashing RenderLayer that becomes non-composited should correctly send 90 <p>A squashing Layer that becomes non-composited should correctly send
91 a repaint invalidation to the new container GraphicsLayer that it paints 91 a repaint invalidation to the new container GraphicsLayer that it paints
92 into. When run interactively, hovering over the force-composited gray div 92 into. When run interactively, hovering over the force-composited gray div
93 should not cause other layers to disappear.</p> 93 should not cause other layers to disappear.</p>
94 94
95 <div id="forceComposited" class="composited underneath"></div> 95 <div id="forceComposited" class="composited underneath"></div>
96 <div id="A" class="overlap1"></div> 96 <div id="A" class="overlap1"></div>
97 <div id="B" class="overlap2"></div> 97 <div id="B" class="overlap2"></div>
98 <div id="C" class="overlap3"></div> 98 <div id="C" class="overlap3"></div>
99 99
100 <div id="testResults"> 100 <div id="testResults">
101 CASE 1, original layer tree: 101 CASE 1, original layer tree:
102 <pre id="Case1"></pre> 102 <pre id="Case1"></pre>
103 103
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: 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:
105 <pre id="Case2"></pre> 105 <pre id="Case2"></pre>
106 106
107 </div> 107 </div>
108 108
109 </body> 109 </body>
110 110
111 </html> 111 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698