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

Side by Side Diff: LayoutTests/compositing/squashing/squash-above-fixed-3.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 6
7 #backgroundFixed { 7 #backgroundFixed {
8 transform: translatez(0); 8 transform: translatez(0);
9 position: fixed; 9 position: fixed;
10 height: 400px; 10 height: 400px;
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 } 58 }
59 59
60 </style> 60 </style>
61 61
62 <script> 62 <script>
63 if (window.testRunner) { 63 if (window.testRunner) {
64 testRunner.dumpAsText(); 64 testRunner.dumpAsText();
65 testRunner.waitUntilDone(); 65 testRunner.waitUntilDone();
66 } 66 }
67 67
68 if (window.internals)
69 internals.settings.setLayerSquashingEnabled(true);
70
71 function runTest() 68 function runTest()
72 { 69 {
73 if (!window.internals) 70 if (!window.internals)
74 return; 71 return;
75 72
76 // Case 1 73 // Case 1
77 document.getElementById('Case1').textContent = window.internals.layerTre eAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS); 74 document.getElementById('Case1').textContent = window.internals.layerTre eAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS);
78 75
79 // Case 2 76 // Case 2
80 window.internals.startTrackingRepaints(document); 77 window.internals.startTrackingRepaints(document);
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 CASE 1, original layer tree: 120 CASE 1, original layer tree:
124 <pre id="Case1"></pre> 121 <pre id="Case1"></pre>
125 122
126 CASE 2, scrolling y by 10 pixels, both the "container" and "inner" should sc roll properly. 123 CASE 2, scrolling y by 10 pixels, both the "container" and "inner" should sc roll properly.
127 <pre id="Case2"></pre> 124 <pre id="Case2"></pre>
128 125
129 CASE 3, scrolling y further so that "inner" no longer overlaps the fixed-pos layer, then the stacking context of "container" includes the "innerScrolling" l ayer, and doubles in width: 126 CASE 3, scrolling y further so that "inner" no longer overlaps the fixed-pos layer, then the stacking context of "container" includes the "innerScrolling" l ayer, and doubles in width:
130 <pre id="Case3"></pre> 127 <pre id="Case3"></pre>
131 </div> 128 </div>
132 </body> 129 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698