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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector-unit/viewport-datagrid-items-expandable-attached-to-dom-expected.txt

Issue 2781593003: [Devtools] DataGrid & ViewportDataGrid now should resetNode for children (Closed)
Patch Set: [Devtools] DataGrid & ViewportDataGrid now should resetNode for children Created 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/inspector-unit/viewport-datagrid-items-expandable-attached-to-dom-expected.txt
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector-unit/viewport-datagrid-items-expandable-attached-to-dom-expected.txt b/third_party/WebKit/LayoutTests/http/tests/inspector-unit/viewport-datagrid-items-expandable-attached-to-dom-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1fd2fe46f0cda7b41044d5de6c19a13742dc6f1
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector-unit/viewport-datagrid-items-expandable-attached-to-dom-expected.txt
@@ -0,0 +1,74 @@
+This tests viewport datagrid.
+Nodes 3 and 24 have children but should be collapsed initially
+Nodes attached to dom:
+a0
+a1
+a2
+a3 has children
+a4
+a5
+a6
+
+Expanding Node 3 and Node 24
+Nodes attached to dom:
+a0
+a1
+a2
+a3 has children, expanded
+a3.0 depth: 1
+a3.1 depth: 1
+a3.2 depth: 1
+
+Collapsing Node 3
+Nodes attached to dom:
+a0
+a1
+a2
+a3 has children
+a4
+a5
+a6
+
+Scrolled down to 220px
+Expanding Node 3 while not in dom
+Scrolled back up to 0px
+Nodes attached to dom:
+a0
+a1
+a2
+a3 has children, expanded
+a3.0 depth: 1
+a3.1 depth: 1
+a3.2 depth: 1
+
+Moving node 0 to be a child of node 3 to make sure attributes adjust (name does not change)
+Nodes attached to dom:
+a1
+a2
+a3 has children, expanded
+a0 depth: 1
+a3.0 depth: 1
+a3.1 depth: 1
+a3.2 depth: 1
+
+Moving node that is attached to dom (node 0) to child of offscreen parent (node 24)
+Nodes attached to dom:
+a1
+a2
+a3 has children, expanded
+a3.0 depth: 1
+a3.1 depth: 1
+a3.2 depth: 1
+a4
+
+Scrolling down to 1000px - should be at bottom to make sure node 0 is attached properly to node 24
+Nodes attached to dom:
+a22
+a23
+a24 has children, expanded
+a0 depth: 1
+a24.0 depth: 1
+a24.1 depth: 1
+a25
+
+

Powered by Google App Engine
This is Rietveld 408576698