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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/tracing/layer-tree.html

Issue 1945813002: cc: Make LayerTreeImpl dump layer list to FrameViewer and Devtools (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Force drawsContent for layout test Created 4 years, 6 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 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/timeline-test.js"></script> 4 <script src="../../http/tests/inspector/timeline-test.js"></script>
5 <script src="../../http/tests/inspector/layers-test.js"></script> 5 <script src="../../http/tests/inspector/layers-test.js"></script>
6 <script src="../tracing-test.js"></script> 6 <script src="../tracing-test.js"></script>
7 7
8 <script> 8 <script>
9 function doActions(callback) 9 function doActions(callback)
10 { 10 {
(...skipping 26 matching lines...) Expand all
37 InspectorTest.layerTreeModel().setLayerTree(layerTree); 37 InspectorTest.layerTreeModel().setLayerTree(layerTree);
38 InspectorTest.dumpLayerTree(); 38 InspectorTest.dumpLayerTree();
39 InspectorTest.completeTest(); 39 InspectorTest.completeTest();
40 } 40 }
41 } 41 }
42 </script> 42 </script>
43 43
44 <body onload="runTestAfterDisplay()"> 44 <body onload="runTestAfterDisplay()">
45 Tests that LayerTreeModel successfully imports layers from a trace. 45 Tests that LayerTreeModel successfully imports layers from a trace.
46 </p> 46 </p>
47 <div id="a" style="width: 200px; height: 200px" class="layer"> 47 <div id="a" style="width: 200px; height: 200px; background-color: yellow" class= "layer">
vmpstr 2016/05/31 22:16:16 Why these changes?
sunxd 2016/05/31 22:41:52 When cc composites layers, it composites several l
48 <div class="layer" id="b1" style="width: 150px; height: 100px"></div> 48 <div class="layer" id="b1" style="width: 150px; height: 100px; background-co lor: red"></div>
49 <div id="b2" class="layer" style="width: 140px; height: 110px"> 49 <div id="b2" class="layer" style="width: 140px; height: 110px; background-co lor: blue">
50 <div id="c" class="layer" style="width: 100px; height: 90px"></div> 50 <div id="c" class="layer" style="width: 100px; height: 90px; background- color: black"></div>
51 </div> 51 </div>
52 <div id="b3" class="layer" style="width: 140px; height: 110px"></div> 52 <div id="b3" class="layer" style="width: 140px; height: 110px; background-co lor: red"></div>
53 </div> 53 </div>
54 </body> 54 </body>
55 </html> 55 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698