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

Side by Side Diff: LayoutTests/compositing/squashing/squash-above-fixed-1.html

Issue 476273003: Rename acceleratedCompositingForFixedPosition to preferCompositingToLCDText. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rm-fixedpos: rebase Created 6 years, 4 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 .composited { 6 .composited {
7 -webkit-transform: translatez(0); 7 -webkit-transform: translatez(0);
8 } 8 }
9 9
10 .background { 10 .background {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 } 47 }
48 </style> 48 </style>
49 49
50 <script> 50 <script>
51 if (window.testRunner) { 51 if (window.testRunner) {
52 testRunner.waitUntilDone(); 52 testRunner.waitUntilDone();
53 testRunner.dumpAsText(); 53 testRunner.dumpAsText();
54 } 54 }
55 55
56 if (window.internals) { 56 if (window.internals) {
57 internals.settings.setAcceleratedCompositingForFixedPositionEnabled(true ); 57 internals.settings.setPreferCompositingToLCDTextEnabled(true);
58 internals.settings.setLayerSquashingEnabled(true); 58 internals.settings.setLayerSquashingEnabled(true);
59 } 59 }
60 60
61 function runTest() 61 function runTest()
62 { 62 {
63 if (!window.internals) 63 if (!window.internals)
64 return; 64 return;
65 65
66 (function() { 66 (function() {
67 67
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 CASE 3, scrolling y to 120, no repaints expected: 178 CASE 3, scrolling y to 120, no repaints expected:
179 <pre id="Case3"></pre> 179 <pre id="Case3"></pre>
180 180
181 CASE 4, scrolling y to 170 new layers will be squashed, so things repaint: 181 CASE 4, scrolling y to 170 new layers will be squashed, so things repaint:
182 <pre id="Case4"></pre> 182 <pre id="Case4"></pre>
183 </div> 183 </div>
184 184
185 </body> 185 </body>
186 186
187 </html> 187 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698