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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/elements/shadow/shadow-root.html

Issue 2347963002: [DevTools] Show distribution for Shadow DOM V1. (Closed)
Patch Set: getDistributedNodes -> iteration Created 4 years, 3 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/elements-test.js"></script> 4 <script src="../../../http/tests/inspector/elements-test.js"></script>
5 <script> 5 <script>
6 6
7 function test() 7 function test()
8 { 8 {
9 InspectorTest.expandElementsTree(function() { 9 InspectorTest.expandElementsTree(function() {
10 var container = InspectorTest.expandedNodeWithId("container"); 10 var container = InspectorTest.expandedNodeWithId("container");
(...skipping 10 matching lines...) Expand all
21 21
22 <div id="container"> 22 <div id="container">
23 <div id="test1"></div> 23 <div id="test1"></div>
24 <div id="test2">only test</div> 24 <div id="test2">only test</div>
25 <div id="test3">with <span>elements</span></div> 25 <div id="test3">with <span>elements</span></div>
26 <input type="text" value="Test"> 26 <input type="text" value="Test">
27 </div> 27 </div>
28 28
29 <script> 29 <script>
30 test1.createShadowRoot(); 30 test1.createShadowRoot();
31 test2.createShadowRoot(); 31 test2.attachShadow({ mode: "open" });
32 test3.createShadowRoot(); 32 test3.attachShadow({ mode: "closed" });
33 </script> 33 </script>
34 34
35 </body> 35 </body>
36 </html> 36 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698