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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-getRenderTreeNodes-expected.txt

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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-getRenderTreeNodes-expected.txt
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-getRenderTreeNodes-expected.txt b/third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-getRenderTreeNodes-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ac8b2a81867080204a33d9b395679d9968d77ae
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-getRenderTreeNodes-expected.txt
@@ -0,0 +1,294 @@
+Some Text
+And More Text
+Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque sit amet est sem. Aenean ut neque volutpat, posuere odio at, mollis nibh. Aenean sodales nulla et ligula efficitur sollicitudin blandit sed lectus. Duis orci enim, sodales ac lectus sed, hendrerit efficitur est. Quisque gravida facilisis viverra.
+
+Lets have a span
+
+RenderTreeNodes result:
+{
+ "renderTreeNodes": [
+ {
+ "backendNodeId": 2,
+ "boundingBox": {
+ "x": 0,
+ "y": 0,
+ "width": 800,
+ "height": 600
+ }
+ },
+ {
+ "backendNodeId": 3,
+ "boundingBox": {
+ "x": 0,
+ "y": 0,
+ "width": 800,
+ "height": 600
+ }
+ },
+ {
+ "backendNodeId": 4,
+ "boundingBox": {
+ "x": 8,
+ "y": 8,
+ "width": 784,
+ "height": 584
+ }
+ },
+ {
+ "backendNodeId": 5,
+ "boundingBox": {
+ "x": 8,
+ "y": 316,
+ "width": 784,
+ "height": 0
+ }
+ },
+ {
+ "backendNodeId": 6,
+ "boundingBox": {
+ "x": 8,
+ "y": 316,
+ "width": 784,
+ "height": 0
+ }
+ },
+ {
+ "backendNodeId": 7,
+ "boundingBox": {
+ "x": 105.875,
+ "y": 28,
+ "width": 200,
+ "height": 288
+ }
+ },
+ {
+ "backendNodeId": 8,
+ "boundingBox": {
+ "x": 105.875,
+ "y": 260,
+ "width": 200,
+ "height": 40
+ }
+ },
+ {
+ "backendNodeId": 9,
+ "boundingBox": {
+ "x": 145.875,
+ "y": 280,
+ "width": 101,
+ "height": 19
+ }
+ },
+ {
+ "backendNodeId": 10,
+ "boundingBox": {
+ "x": 145.875,
+ "y": 280,
+ "width": 101,
+ "height": 19
+ },
+ "layoutText": "Lets have a span",
+ "inlineTextNodes": [
+ {
+ "boundingBox": {
+ "x": 145.875,
+ "y": 280,
+ "width": 101,
+ "height": 19
+ },
+ "text": "Lets have a span"
+ }
+ ]
+ },
+ {
+ "backendNodeId": 11,
+ "boundingBox": {
+ "x": 145.875,
+ "y": 260,
+ "width": 160,
+ "height": 20
+ }
+ },
+ {
+ "backendNodeId": 12,
+ "boundingBox": {
+ "x": 105.875,
+ "y": 44,
+ "width": 200,
+ "height": 200
+ }
+ },
+ {
+ "backendNodeId": 13,
+ "boundingBox": {
+ "x": 105.875,
+ "y": 44,
+ "width": 199,
+ "height": 199
+ },
+ "layoutText": "\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque sit amet est sem.\n Aenean ut neque volutpat, posuere odio at, mollis nibh. Aenean sodales nulla et\n ligula efficitur sollicitudin blandit sed lectus. Duis orci enim, sodales ac lectus sed,\n hendrerit efficitur est. Quisque gravida facilisis viverra.\n ",
+ "inlineTextNodes": [
+ {
+ "boundingBox": {
+ "x": 105.875,
+ "y": 44,
+ "width": 169,
+ "height": 19
+ },
+ "text": "Lorem ipsum dolor sit amet,"
+ },
+ {
+ "boundingBox": {
+ "x": 105.875,
+ "y": 64,
+ "width": 157,
+ "height": 19
+ },
+ "text": "consectetur adipiscing elit."
+ },
+ {
+ "boundingBox": {
+ "x": 105.875,
+ "y": 84,
+ "width": 178,
+ "height": 19
+ },
+ "text": "Pellentesque sit amet est sem."
+ },
+ {
+ "boundingBox": {
+ "x": 105.875,
+ "y": 104,
+ "width": 157,
+ "height": 19
+ },
+ "text": "Aenean ut neque volutpat,"
+ },
+ {
+ "boundingBox": {
+ "x": 105.875,
+ "y": 124,
+ "width": 169,
+ "height": 19
+ },
+ "text": "posuere odio at, mollis nibh."
+ },
+ {
+ "boundingBox": {
+ "x": 105.875,
+ "y": 144,
+ "width": 145,
+ "height": 19
+ },
+ "text": "Aenean sodales nulla et\n"
+ },
+ {
+ "boundingBox": {
+ "x": 250.875,
+ "y": 144,
+ "width": 30,
+ "height": 19
+ },
+ "text": "ligula"
+ },
+ {
+ "boundingBox": {
+ "x": 105.875,
+ "y": 164,
+ "width": 178.703125,
+ "height": 19
+ },
+ "text": "efficitur sollicitudin blandit sed"
+ },
+ {
+ "boundingBox": {
+ "x": 105.875,
+ "y": 184,
+ "width": 199,
+ "height": 19
+ },
+ "text": "lectus. Duis orci enim, sodales ac"
+ },
+ {
+ "boundingBox": {
+ "x": 105.875,
+ "y": 204,
+ "width": 67,
+ "height": 19
+ },
+ "text": "lectus sed,\n"
+ },
+ {
+ "boundingBox": {
+ "x": 172.875,
+ "y": 204,
+ "width": 125.703125,
+ "height": 19
+ },
+ "text": "hendrerit efficitur est."
+ },
+ {
+ "boundingBox": {
+ "x": 105.875,
+ "y": 224,
+ "width": 193,
+ "height": 19
+ },
+ "text": "Quisque gravida facilisis viverra."
+ }
+ ]
+ },
+ {
+ "backendNodeId": 14,
+ "boundingBox": {
+ "x": 8,
+ "y": 280,
+ "width": 97.875,
+ "height": 19
+ },
+ "layoutText": " And More Text\n",
+ "inlineTextNodes": [
+ {
+ "boundingBox": {
+ "x": 8,
+ "y": 280,
+ "width": 97.875,
+ "height": 19
+ },
+ "text": "And More Text\n"
+ }
+ ]
+ },
+ {
+ "backendNodeId": 15,
+ "boundingBox": {
+ "x": 8,
+ "y": 8,
+ "width": 784,
+ "height": 20
+ }
+ },
+ {
+ "backendNodeId": 16,
+ "boundingBox": {
+ "x": 8,
+ "y": 8,
+ "width": 64.875,
+ "height": 19
+ },
+ "layoutText": "Some Text",
+ "inlineTextNodes": [
+ {
+ "boundingBox": {
+ "x": 8,
+ "y": 8,
+ "width": 64.875,
+ "height": 19
+ },
+ "text": "Some Text"
+ }
+ ]
+ }
+ ]
+}
+

Powered by Google App Engine
This is Rietveld 408576698