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

Side by Side Diff: LayoutTests/compositing/squashing/no-squashing-into-another-clip-layer.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 .hoverable:hover { 3 .hoverable:hover {
4 transform: translateZ(0); 4 transform: translateZ(0);
5 } 5 }
6 </style> 6 </style>
7 <script> 7 <script>
8 if (window.testRunner) 8 if (window.testRunner)
9 testRunner.dumpAsText(); 9 testRunner.dumpAsText();
10 10
11 if (window.internals)
12 internals.settings.setLayerSquashingEnabled(true);
13
14 function dumpLayers() 11 function dumpLayers()
15 { 12 {
16 var layersResult = document.getElementById('layers'); 13 var layersResult = document.getElementById('layers');
17 if (window.testRunner) 14 if (window.testRunner)
18 layersResult.innerText = window.internals.layerTreeAsText(document); 15 layersResult.innerText = window.internals.layerTreeAsText(document);
19 } 16 }
20 window.addEventListener('load', dumpLayers, false) 17 window.addEventListener('load', dumpLayers, false)
21 </script> 18 </script>
22 <div style="transform: translateZ(0); overflow: hidden; height: 10px; background -color: lightblue"> 19 <div style="transform: translateZ(0); overflow: hidden; height: 10px; background -color: lightblue">
23 <div id="inner" style="transform: translateZ(0); height: 10px; background-colo r: whitesmoke"> 20 <div id="inner" style="transform: translateZ(0); height: 10px; background-colo r: whitesmoke">
24 </div> 21 </div>
25 </div> 22 </div>
26 <!-- This div should not sqaush into the inner div, because it is inside an over flow:hidden div which therefore clips differently than this div's parent --> 23 <!-- This div should not sqaush into the inner div, because it is inside an over flow:hidden div which therefore clips differently than this div's parent -->
27 <div class="hoverable" style="position:absolute; top: 0px; height:100px; width:1 00px; background-color: lightgreen"> 24 <div class="hoverable" style="position:absolute; top: 0px; height:100px; width:1 00px; background-color: lightgreen">
28 <pre id="layers">Layer tree goes here in DRT</pre> 25 <pre id="layers">Layer tree goes here in DRT</pre>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698