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/inspector/elements/breadcrumb-shadow-roots.html

Issue 177653004: DevTools: Get rid of redundant default selection during inspectElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase on master Created 6 years, 9 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 PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.or g/TR/html4/loose.dtd"> 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.or g/TR/html4/loose.dtd">
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../http/tests/inspector/inspector-test.js"></script> 4 <script src="../../http/tests/inspector/inspector-test.js"></script>
5 <script src="../../http/tests/inspector/elements-test.js"></script> 5 <script src="../../http/tests/inspector/elements-test.js"></script>
6 <script> 6 <script>
7 7
8 function loaded() 8 function loaded()
9 { 9 {
10 var template = document.querySelector("#tmpl"); 10 var template = document.querySelector("#tmpl");
(...skipping 23 matching lines...) Expand all
34 { 34 {
35 InspectorTest.dumpBreadcrumb("Author shadow root breadcrumb"); 35 InspectorTest.dumpBreadcrumb("Author shadow root breadcrumb");
36 InspectorTest.completeTest(); 36 InspectorTest.completeTest();
37 } 37 }
38 38
39 function selectNode(matchFunction, next) 39 function selectNode(matchFunction, next)
40 { 40 {
41 InspectorTest.findNode(matchFunction, callback); 41 InspectorTest.findNode(matchFunction, callback);
42 function callback(node) 42 function callback(node)
43 { 43 {
44 if (node) 44 WebInspector.Revealer.reveal(node);
45 WebInspector._updateFocusedNode(node.id);
46 next(node); 45 next(node);
47 } 46 }
48 } 47 }
49 48
50 function matchUserAgentShadowRoot(node) 49 function matchUserAgentShadowRoot(node)
51 { 50 {
52 return node.shadowRootType() === WebInspector.DOMNode.ShadowRootTypes.Us erAgent; 51 return node.shadowRootType() === WebInspector.DOMNode.ShadowRootTypes.Us erAgent;
53 } 52 }
54 53
55 function matchAuthorShadowRoot(node) 54 function matchAuthorShadowRoot(node)
(...skipping 13 matching lines...) Expand all
69 <input type="text"> 68 <input type="text">
70 <div id="host"></div> 69 <div id="host"></div>
71 <template id="tmpl"> 70 <template id="tmpl">
72 <style>.red { color: red; }</style> 71 <style>.red { color: red; }</style>
73 <div id="inner" class="red">inner</div> 72 <div id="inner" class="red">inner</div>
74 </template> 73 </template>
75 74
76 75
77 </body> 76 </body>
78 </html> 77 </html>
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/inspector/elements-test.js ('k') | LayoutTests/inspector/elements/edit-dom-actions.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698