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

Side by Side Diff: LayoutTests/compositing/squashing/squash-canvas.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 <style> 2 <style>
3 canvas { 3 canvas {
4 width: 40px; 4 width: 40px;
5 height: 40px; 5 height: 40px;
6 background: blue; 6 background: blue;
7 position: absolute; 7 position: absolute;
8 top: 80px; 8 top: 80px;
9 left: 10px; 9 left: 10px;
10 } 10 }
11 #background { 11 #background {
12 width: 100px; 12 width: 100px;
13 height: 100px; 13 height: 100px;
14 background: green; 14 background: green;
15 position: absolute; 15 position: absolute;
16 transform: translateZ(0); 16 transform: translateZ(0);
17 } 17 }
18 #overlap { 18 #overlap {
19 width: 10px; 19 width: 10px;
20 height: 10px; 20 height: 10px;
21 background: grey; 21 background: grey;
22 position: absolute; 22 position: absolute;
23 top: 20px; 23 top: 20px;
24 } 24 }
25 </style> 25 </style>
26 <script>
27 if (window.internals)
28 internals.settings.setLayerSquashingEnabled(true);
29 </script>
30 <div id="background"></div> 26 <div id="background"></div>
31 <div id="overlap"></div> 27 <div id="overlap"></div>
32 <canvas></canvas> 28 <canvas></canvas>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698