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

Side by Side Diff: LayoutTests/compositing/force-compositing-mode/force-composite-empty.html

Issue 239533002: Combine settings about compositing scrollable frames (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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
« no previous file with comments | « no previous file | LayoutTests/compositing/force-compositing-mode/no-overflow-iframe-layer.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 <html> 1 <html>
2 <head> 2 <head>
3 <script> 3 <script>
4 if (window.internals) { 4 if (window.internals) {
5 window.internals.settings.setForceCompositingMode(true); 5 window.internals.settings.setForceCompositingMode(true);
6 window.internals.settings.setAcceleratedCompositingForScrollableFramesEn abled(true); 6 window.internals.settings.setCompositedScrollingForFramesEnabled(true);
7 } 7 }
8 function doTest() { 8 function doTest() {
9 if (window.testRunner) { 9 if (window.testRunner) {
10 document.getElementById("layertree").innerText = window.internals.laye rTreeAsText(document); 10 document.getElementById("layertree").innerText = window.internals.laye rTreeAsText(document);
11 testRunner.dumpAsText(); 11 testRunner.dumpAsText();
12 } 12 }
13 } 13 }
14 window.addEventListener("load", doTest, false); 14 window.addEventListener("load", doTest, false);
15 </script> 15 </script>
16 </head> 16 </head>
17 <body> 17 <body>
18 <!-- in force compositing mode the body should get its own graphics layer --> 18 <!-- in force compositing mode the body should get its own graphics layer -->
19 <pre id="layertree"></pre> 19 <pre id="layertree"></pre>
20 </body> 20 </body>
21 </html> 21 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/compositing/force-compositing-mode/no-overflow-iframe-layer.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698