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

Side by Side Diff: LayoutTests/compositing/fixed-position-changed-to-absolute.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
« no previous file with comments | « no previous file | LayoutTests/compositing/gestures/gesture-tapHighlight-invisible-inline-squashing.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <style> 2 <style>
3 .composited { 3 .composited {
4 position: absolute; 4 position: absolute;
5 transform: translateZ(0); 5 transform: translateZ(0);
6 width: 150px; 6 width: 150px;
7 height: 150px; 7 height: 150px;
8 background: #D9CCA7; 8 background: #D9CCA7;
9 } 9 }
10 body { 10 body {
(...skipping 28 matching lines...) Expand all
39 } 39 }
40 </style> 40 </style>
41 <div class="composited"></div> 41 <div class="composited"></div>
42 <div id="layer-A"></div> 42 <div id="layer-A"></div>
43 <div id="layer-B"></div> 43 <div id="layer-B"></div>
44 <div id="layer-C"></div> 44 <div id="layer-C"></div>
45 <pre><pre> 45 <pre><pre>
46 <script> 46 <script>
47 if (window.testRunner) { 47 if (window.testRunner) {
48 testRunner.dumpAsText(); 48 testRunner.dumpAsText();
49 window.internals.settings.setLayerSquashingEnabled(true);
50 window.internals.settings.setPreferCompositingToLCDTextEnabled(true); 49 window.internals.settings.setPreferCompositingToLCDTextEnabled(true);
51 } else { 50 } else {
52 alert('This test requires testRunner'); 51 alert('This test requires testRunner');
53 } 52 }
54 53
55 window.internals.forceCompositingUpdate(document); 54 window.internals.forceCompositingUpdate(document);
56 document.getElementById("layer-A").style.position = "absolute"; 55 document.getElementById("layer-A").style.position = "absolute";
57 document.querySelector('pre').textContent = window.internals.layerTreeAsText(doc ument); 56 document.querySelector('pre').textContent = window.internals.layerTreeAsText(doc ument);
58 </script> 57 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/compositing/gestures/gesture-tapHighlight-invisible-inline-squashing.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698