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

Side by Side Diff: LayoutTests/compositing/force-compositing-mode/no-overflow-iframe-layer.html

Issue 14120003: Move LayoutTests from platform/chromium/... to generic location (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <style> 3 <style>
4 iframe { 4 iframe {
5 height: 150px; 5 height: 150px;
6 width: 150px; 6 width: 150px;
7 } 7 }
8 </style> 8 </style>
9 <script> 9 <script>
10 function doTest() 10 function doTest()
11 { 11 {
12 if (window.testRunner) { 12 if (window.testRunner) {
13 testRunner.dumpAsText(false); 13 testRunner.dumpAsText(false);
14 document.getElementById('layertree').innerText = window.internals.layerT reeAsText(document); 14 document.getElementById('layertree').innerText = window.internals.layerT reeAsText(document);
15 } 15 }
16 } 16 }
17 window.addEventListener("load", doTest, false); 17 window.addEventListener("load", doTest, false);
18 if (window.internals) { 18 if (window.internals) {
19 internals.settings.setForceCompositingMode(true); 19 internals.settings.setForceCompositingMode(true);
20 internals.settings.setAcceleratedCompositingForScrollableFramesEnabled(tru e); 20 internals.settings.setAcceleratedCompositingForScrollableFramesEnabled(tru e);
21 } 21 }
22 </script> 22 </script>
23 </head> 23 </head>
24 <body> 24 <body>
25 <!-- this should not generate a layer and the layer tree should be empty --> 25 <!-- this should not generate a layer and the layer tree should be empty -->
26 <iframe src="resources/subframe-small.html"></iframe> 26 <iframe src="resources/subframe-small.html"></iframe>
27 <pre id="layertree"></pre> 27 <pre id="layertree"></pre>
28 </body> 28 </body>
29 </html> 29 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698