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

Side by Side Diff: LayoutTests/inspector/layers/layers-panel-mouse-events.html

Issue 173763002: DevTools: hide page overlay layers in LayerTreeAgent (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: removed stray watchdog from test Created 6 years, 10 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 .layer { 4 .layer {
5 position: absolute; 5 position: absolute;
6 -webkit-transform: translateZ(10px); 6 -webkit-transform: translateZ(10px);
7 opacity: 0.8; 7 opacity: 0.8;
8 left: 20px; 8 left: 20px;
9 top: 20px; 9 top: 20px;
10 } 10 }
11 </style> 11 </style>
12 <script src="../http/tests/inspector/inspector-test.js"></script> 12 <script src="../../http/tests/inspector/inspector-test.js"></script>
13 <script src="../http/tests/inspector/layers-test.js"></script> 13 <script src="../../http/tests/inspector/layers-test.js"></script>
14 <script> 14 <script>
15 function initialize_LayersPanelnMouseEvents() 15 function initialize_LayersPanelnMouseEvents()
16 { 16 {
17 17
18 InspectorTest.findLayerTreeElement = function(layer) 18 InspectorTest.findLayerTreeElement = function(layer)
19 { 19 {
20 var layerTree = WebInspector.panel("layers").sidebarTree; 20 var layerTree = WebInspector.panel("layers").sidebarTree;
21 var element = layerTree.getCachedTreeElement(layer); 21 var element = layerTree.getCachedTreeElement(layer);
22 element.reveal(); 22 element.reveal();
23 return element.listItemElement; 23 return element.listItemElement;
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 157
158 <body onload="runTest()"> 158 <body onload="runTest()">
159 <div id="a" style="width: 200px; height: 200px" class="layer"> 159 <div id="a" style="width: 200px; height: 200px" class="layer">
160 <div class="layer" id="b1" style="width: 150px; height: 100px"></div> 160 <div class="layer" id="b1" style="width: 150px; height: 100px"></div>
161 <div id="b2" class="layer" style="width: 140px; height: 110px"> 161 <div id="b2" class="layer" style="width: 140px; height: 110px">
162 <div id="c" class="layer" style="width: 100px; height: 90px"></div> 162 <div id="c" class="layer" style="width: 100px; height: 90px"></div>
163 <div id="b3" class="layer" style="width: 140px; height: 110px;"></div> 163 <div id="b3" class="layer" style="width: 140px; height: 110px;"></div>
164 </div> 164 </div>
165 </div> 165 </div>
166 </body> 166 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698