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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector-unit/viewport-datagrid-items-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-attached-to-dom-expected.txt
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector-unit/viewport-datagrid-items-attached-to-dom-expected.txt b/third_party/WebKit/LayoutTests/http/tests/inspector-unit/viewport-datagrid-items-attached-to-dom-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a3862dc0f8655f6376647982ec95def7f34ddb45
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector-unit/viewport-datagrid-items-attached-to-dom-expected.txt
@@ -0,0 +1,83 @@
+This tests viewport datagrid.
+Nodes attached to dom:
+a0
+a1
+a2
+a3
+a4
+a5
+a6
+
+Scrolled down to 133px
+Nodes attached to dom:
+a6
+a7
+a8
+a9
+a10
+a11
+a12
+
+Scrolled down to 312px
+Nodes attached to dom:
+a15
+a16
+a17
+a18
+a19
+a20
+a21
+
+Scrolled down to 1000px - should be at bottom
+Nodes attached to dom:
+a23
+a24
+a25
+a26
+a27
+a28
+a29
+
+Scrolled up to 0px
+Nodes attached to dom:
+a0
+a1
+a2
+a3
+a4
+a5
+a6
+
+Testing removal of some nodes in viewport
+Should be missing node 0, 1, 3, 5 from dom:
+Nodes attached to dom:
+a2
+a4
+a6
+a7
+a8
+a9
+a10
+
+Testing adding of some nodes back into viewport
+Nodes should be the same as previous dump because of throttling:
+Nodes attached to dom:
+a2
+a4
+a6
+a7
+a8
+a9
+a10
+
+Should have nodes 0, 1, 3, 5 back in dom and previously added nodes removed:
+Nodes attached to dom:
+a0
+a1
+a2
+a3
+a4
+a5
+a6
+
+

Powered by Google App Engine
This is Rietveld 408576698