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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-getRenderTreeNodes.html

Issue 2346853002: Add a DOM.getLayoutTreeNodes devtools command (Closed)
Patch Set: Changes for Pavel 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
(Empty)
1 <html>
2 <head>
3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto r-protocol-test.js"></script>
4 <script>
5
6 function test()
7 {
8 InspectorTest.sendCommand("DOM.enable", {});
9 InspectorTest.sendCommandOrDie("DOM.getRenderTreeNodes", {}, onRenderTreeNod es);
10
11 function onRenderTreeNodes(response)
12 {
13 InspectorTest.log("\nRenderTreeNodes result:");
14 InspectorTest.log(JSON.stringify(response, null, 2));
15 InspectorTest.completeTest();
16 }
17 }
18
19 </script>
20 </head>
21 <body class="body-class">
22 <div class="class1">Some Text</div> And More Text
23 <div style="display:inline-block; width: 200px">
24 <p>
25 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque sit am et est sem.
26 Aenean ut neque volutpat, posuere odio at, mollis nibh. Aenean sodales nulla et
27 ligula efficitur sollicitudin blandit sed lectus. Duis orci enim, sodales ac lectus sed,
28 hendrerit efficitur est. Quisque gravida facilisis viverra.
29 </p>
30 <ul class="class3">
31 <li class="class4"></li>
32 <span>Lets have a span</span>
33 </ul>
34 </div>
35 <div class="class5 class6"></div>
Sami 2016/09/16 12:31:59 As one more sanity check could you add a div with
alex clarke (OOO till 29th) 2016/09/20 10:58:59 Done, the node with the 90 deg rotation has a tall
36 <div id="shadow-host"></div>
37 <script type="text/javascript">
38 runTest();
39 </script>
40
41 </body>
42 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698