OLD | NEW |
---|---|
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 Loading... | |
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> |
OLD | NEW |