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

Side by Side Diff: third_party/WebKit/LayoutTests/compositing/rendering-contexts.html

Issue 2393443002: Adjust compositing tests to be SPv2-compatible. (Closed)
Patch Set: none Created 4 years, 2 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
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <!-- 2 <!--
3 This test simply checks that when we have multiple 3d rendering contexts, that 3 This test simply checks that when we have multiple 3d rendering contexts, that
4 they get separate and unique id's in the layer tree dump. 4 they get separate and unique id's in the layer tree dump.
5 --> 5 -->
6 <html> 6 <html>
7 <head> 7 <head>
8 <style> 8 <style>
9 .composited { 9 .composited {
10 transform: translateZ(0); 10 transform: translateZ(0);
(...skipping 15 matching lines...) Expand all
26 left: 4000px; 26 left: 4000px;
27 } 27 }
28 </style> 28 </style>
29 <script> 29 <script>
30 if (window.testRunner) 30 if (window.testRunner)
31 testRunner.dumpAsText(); 31 testRunner.dumpAsText();
32 32
33 33
34 function dumpLayerTree() { 34 function dumpLayerTree() {
35 if (window.internals) 35 if (window.internals)
36 document.getElementById("console").innerHTML = window.internals.layerT reeAsText(document); 36 document.getElementById("console").innerHTML = window.internals.layerT reeAsText(document, window.internals.OUTPUT_CHILDREN_AS_LAYER_LIST);
37 } 37 }
38 38
39 window.onload = dumpLayerTree; 39 window.onload = dumpLayerTree;
40 </script> 40 </script>
41 </head> 41 </head>
42 <body> 42 <body>
43 <div class="composited" id="grandparent"> 43 <div class="composited" id="grandparent">
44 <div class="composited" id="parent"> 44 <div class="composited" id="parent">
45 <div class="composited" id="child"> 45 <div class="composited" id="child">
46 </div> 46 </div>
47 </div> 47 </div>
48 </div> 48 </div>
49 <pre id="console"></pre> 49 <pre id="console"></pre>
50 </body> 50 </body>
51 </html> 51 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698