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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector-unit/list-control-fixed-height-expected.txt

Issue 2592433003: [DevTools] Replace ViewportControl with ListControl. (Closed)
Patch Set: tests Created 4 years 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/list-control-fixed-height-expected.txt
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector-unit/list-control-fixed-height-expected.txt b/third_party/WebKit/LayoutTests/http/tests/inspector-unit/list-control-fixed-height-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..84f8e105e13f155b9299f27b13eabe0a43f36c7e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector-unit/list-control-fixed-height-expected.txt
@@ -0,0 +1,623 @@
+Test ListControl rendering and selection for fixed height case.
+Adding 0, 1, 2
+Creating element for 0
+Creating element for 1
+Creating element for 2
+----list[length=3][height=73]----
+ [0] top
+*[0] 0
+*[10] 1
+*[20] 2
+*[30] bottom
+
+Scrolling to 0
+----list[length=3][height=73]----
+ [0] top
+*[0] 0
+*[10] 1
+*[20] 2
+*[30] bottom
+
+Scrolling to 2
+----list[length=3][height=73]----
+ [0] top
+*[0] 0
+*[10] 1
+*[20] 2
+*[30] bottom
+
+ArrowDown
+Selection changed from null to 0
+----list[length=3][height=73]----
+ [0] top
+*[0] 0 (selected)
+*[10] 1
+*[20] 2
+*[30] bottom
+
+Selecting 2
+Selection changed from 0 to 2
+----list[length=3][height=73]----
+ [0] top
+*[0] 0
+*[10] 1
+*[20] 2 (selected)
+*[30] bottom
+
+PageUp
+Selection changed from 2 to 0
+----list[length=3][height=73]----
+ [0] top
+*[0] 0 (selected)
+*[10] 1
+*[20] 2
+*[30] bottom
+
+PageDown
+Selection changed from 0 to 2
+----list[length=3][height=73]----
+ [0] top
+*[0] 0
+*[10] 1
+*[20] 2 (selected)
+*[30] bottom
+
+ArrowDown
+Selection changed from 2 to 0
+----list[length=3][height=73]----
+ [0] top
+*[0] 0 (selected)
+*[10] 1
+*[20] 2
+*[30] bottom
+
+Replacing 0 with 5, 6, 7
+Creating element for 5
+Creating element for 6
+Creating element for 7
+Selection changed from 0 to 2
+----list[length=5][height=73]----
+ [0] top
+*[0] 5
+*[10] 6
+*[20] 7
+*[30] 1
+*[40] 2 (selected)
+*[50] bottom
+
+ArrowUp
+Selection changed from 2 to 7
+----list[length=5][height=73]----
+ [0] top
+*[0] 5
+*[10] 6
+*[20] 7 (selected)
+*[30] 1
+*[40] 2
+*[50] bottom
+
+Pushing 10
+Creating element for 10
+----list[length=6][height=73]----
+ [0] top
+*[0] 5
+*[10] 6
+*[20] 7 (selected)
+*[30] 1
+*[40] 2
+*[50] 10
+*[60] bottom
+
+Selecting 10
+Selection changed from 7 to 10
+----list[length=6][height=73]----
+ [0] top
+*[0] 5
+*[10] 6
+*[20] 7
+*[30] 1
+*[40] 2
+*[50] 10 (selected)
+*[60] bottom
+
+Popping 10
+Selection changed from 10 to 2
+----list[length=5][height=73]----
+ [0] top
+*[0] 5
+*[10] 6
+*[20] 7
+*[30] 1
+*[40] 2 (selected)
+*[50] bottom
+
+Removing 2
+Selection changed from 2 to 7
+----list[length=4][height=73]----
+ [0] top
+*[0] 5
+*[10] 6
+*[20] 7 (selected)
+*[30] 1
+*[40] bottom
+
+Inserting 8
+Creating element for 8
+----list[length=5][height=73]----
+ [0] top
+*[0] 5
+*[10] 8
+*[20] 6
+*[30] 7 (selected)
+*[40] 1
+*[50] bottom
+
+Replacing with 0...20
+Creating element for 0
+Creating element for 1
+Creating element for 2
+Creating element for 3
+Creating element for 4
+Creating element for 5
+Creating element for 6
+Creating element for 7
+Creating element for 8
+Creating element for 9
+Creating element for 10
+Creating element for 11
+Creating element for 12
+Creating element for 13
+Creating element for 14
+Selection changed from 7 to null
+----list[length=20][height=73]----
+ [0] top
+*[0] 0
+*[10] 1
+*[20] 2
+*[30] 3
+*[40] 4
+*[50] 5
+*[60] 6
++[70] 7
+ [80] 8
+ [90] 9
+ [100] 10
+ [110] 11
+ [120] 12
+ [130] 13
+ [140] 14
+ [150] bottom
+
+Resizing
+Creating element for 15
+Creating element for 16
+----list[length=20][height=84]----
+ [0] top
+*[0] 0
+*[10] 1
+*[20] 2
+*[30] 3
+*[40] 4
+*[50] 5
+*[60] 6
+*[70] 7
++[80] 8
+ [90] 9
+ [100] 10
+ [110] 11
+ [120] 12
+ [130] 13
+ [140] 14
+ [150] 15
+ [160] 16
+ [170] bottom
+
+Scrolling to 19
+Creating element for 17
+Creating element for 18
+Creating element for 19
+----list[length=20][height=84]----
+ [-116] top
+ [-86] 3
+ [-76] 4
+ [-66] 5
+ [-56] 6
+ [-46] 7
+ [-36] 8
+ [-26] 9
+ [-16] 10
++[-6] 11
+*[4] 12
+*[14] 13
+*[24] 14
+*[34] 15
+*[44] 16
+*[54] 17
+*[64] 18
+*[74] 19
+ [84] bottom
+
+Scrolling to 5
+----list[length=20][height=84]----
+ [-50] top
+ [-50] 0
+ [-40] 1
+ [-30] 2
+ [-20] 3
+ [-10] 4
+*[0] 5
+*[10] 6
+*[20] 7
+*[30] 8
+*[40] 9
+*[50] 10
+*[60] 11
+*[70] 12
++[80] 13
+ [90] 14
+ [100] 15
+ [110] 16
+ [120] 17
+ [130] 18
+ [140] 19
+ [150] bottom
+
+Scrolling to 12
+----list[length=20][height=84]----
+ [-50] top
+ [-50] 0
+ [-40] 1
+ [-30] 2
+ [-20] 3
+ [-10] 4
+*[0] 5
+*[10] 6
+*[20] 7
+*[30] 8
+*[40] 9
+*[50] 10
+*[60] 11
+*[70] 12
++[80] 13
+ [90] 14
+ [100] 15
+ [110] 16
+ [120] 17
+ [130] 18
+ [140] 19
+ [150] bottom
+
+Scrolling to 13
+----list[length=20][height=84]----
+ [-56] top
+ [-56] 0
+ [-46] 1
+ [-36] 2
+ [-26] 3
+ [-16] 4
++[-6] 5
+*[4] 6
+*[14] 7
+*[24] 8
+*[34] 9
+*[44] 10
+*[54] 11
+*[64] 12
+*[74] 13
+ [84] 14
+ [94] 15
+ [104] 16
+ [114] 17
+ [124] 18
+ [134] 19
+ [144] bottom
+
+Changing the item height, switching to measure
+Creating element for 0
+Creating element for 1
+Creating element for 2
+Creating element for 3
+Creating element for 4
+Creating element for 5
+Creating element for 6
+Creating element for 7
+Creating element for 8
+Creating element for 9
+Creating element for 10
+Creating element for 11
+Creating element for 12
+Creating element for 13
+Creating element for 14
+----list[length=20][height=84]----
+ [-56] top
+ [-56] 0
+ [-41] 1
+ [-26] 2
++[-11] 3
+*[4] 4
+*[19] 5
+*[34] 6
+*[49] 7
+*[64] 8
++[79] 9
+ [94] 10
+ [109] 11
+ [124] 12
+ [139] 13
+ [154] 14
+ [169] bottom
+
+Selecting 7
+Selection changed from null to 7
+----list[length=20][height=84]----
+ [-56] top
+ [-56] 0
+ [-41] 1
+ [-26] 2
++[-11] 3
+*[4] 4
+*[19] 5
+*[34] 6
+*[49] 7 (selected)
+*[64] 8
++[79] 9
+ [94] 10
+ [109] 11
+ [124] 12
+ [139] 13
+ [154] 14
+ [169] bottom
+
+Replacing 7 with 27
+Creating element for 27
+Selection changed from 7 to 10
+----list[length=20][height=84]----
+ [-56] top
+ [-56] 0
+ [-41] 1
+ [-26] 2
++[-11] 3
+*[4] 4
+*[19] 5
+*[34] 6
+*[49] 27
+*[64] 8
++[79] 9
+ [94] 10 (selected)
+ [109] 11
+ [124] 12
+ [139] 13
+ [154] 14
+ [169] bottom
+
+Replacing 18, 19 with 28, 29
+----list[length=20][height=84]----
+ [-56] top
+ [-56] 0
+ [-41] 1
+ [-26] 2
++[-11] 3
+*[4] 4
+*[19] 5
+*[34] 6
+*[49] 27
+*[64] 8
++[79] 9
+ [94] 10 (selected)
+ [109] 11
+ [124] 12
+ [139] 13
+ [154] 14
+ [169] bottom
+
+PageDown
+Creating element for 15
+Creating element for 16
+Creating element for 17
+Creating element for 28
+Creating element for 29
+Selection changed from 10 to 17
+----list[length=20][height=84]----
+ [-186] top
+ [-96] 6
+ [-81] 27
+ [-66] 8
+ [-51] 9
+ [-36] 10
+ [-21] 11
++[-6] 12
+*[9] 13
+*[24] 14
+*[39] 15
+*[54] 16
+*[69] 17 (selected)
+ [84] 28
+ [99] 29
+ [114] bottom
+
+Replacing 1, 2, 3 with [31-43]
+----list[length=30][height=84]----
+ [-336] top
+ [-96] 6
+ [-81] 27
+ [-66] 8
+ [-51] 9
+ [-36] 10
+ [-21] 11
++[-6] 12
+*[9] 13
+*[24] 14
+*[39] 15
+*[54] 16
+*[69] 17 (selected)
+ [84] 28
+ [99] 29
+ [114] bottom
+
+ArrowUp
+Selection changed from 17 to 15
+----list[length=30][height=84]----
+ [-336] top
+ [-96] 6
+ [-81] 27
+ [-66] 8
+ [-51] 9
+ [-36] 10
+ [-21] 11
++[-6] 12
+*[9] 13
+*[24] 14
+*[39] 15 (selected)
+*[54] 16
+*[69] 17
+ [84] 28
+ [99] 29
+ [114] bottom
+
+Selecting -1
+Selection changed from 15 to null
+----list[length=30][height=84]----
+ [-336] top
+ [-96] 6
+ [-81] 27
+ [-66] 8
+ [-51] 9
+ [-36] 10
+ [-21] 11
++[-6] 12
+*[9] 13
+*[24] 14
+*[39] 15
+*[54] 16
+*[69] 17
+ [84] 28
+ [99] 29
+ [114] bottom
+
+ArrowUp
+Selection changed from null to 17
+----list[length=30][height=84]----
+ [-336] top
+ [-96] 6
+ [-81] 27
+ [-66] 8
+ [-51] 9
+ [-36] 10
+ [-21] 11
++[-6] 12
+*[9] 13
+*[24] 14
+*[39] 15
+*[54] 16
+*[69] 17 (selected)
+ [84] 28
+ [99] 29
+ [114] bottom
+
+Selecting -1
+Selection changed from 17 to null
+----list[length=30][height=84]----
+ [-336] top
+ [-96] 6
+ [-81] 27
+ [-66] 8
+ [-51] 9
+ [-36] 10
+ [-21] 11
++[-6] 12
+*[9] 13
+*[24] 14
+*[39] 15
+*[54] 16
+*[69] 17
+ [84] 28
+ [99] 29
+ [114] bottom
+
+ArrowDown
+Creating element for 41
+Creating element for 40
+Creating element for 39
+Creating element for 38
+Creating element for 37
+Creating element for 36
+Creating element for 35
+Creating element for 34
+Creating element for 33
+Creating element for 32
+Creating element for 31
+Selection changed from null to 0
+----list[length=30][height=84]----
+ [0] top
+*[0] 0 (selected)
+*[15] 31
+*[30] 32
+*[45] 33
+*[60] 34
++[75] 35
+ [90] 36
+ [105] 37
+ [120] 38
+ [135] 39
+ [150] 40
+ [165] 41
+ [180] bottom
+
+Selecting -1
+Selection changed from 0 to null
+----list[length=30][height=84]----
+ [0] top
+*[0] 0
+*[15] 31
+*[30] 32
+*[45] 33
+*[60] 34
++[75] 35
+ [90] 36
+ [105] 37
+ [120] 38
+ [135] 39
+ [150] 40
+ [165] 41
+ [180] bottom
+
+PageUp
+Creating element for 42
+Creating element for 43
+Selection changed from null to 12
+----list[length=30][height=84]----
+ [-261] top
+ [-96] 41
+ [-81] 42
+ [-66] 43
+ [-51] 4
+ [-36] 5
+ [-21] 6
++[-6] 27
+*[9] 8
+*[24] 9
+*[39] 10
+*[54] 11
+*[69] 12 (selected)
+ [84] 13
+ [99] 14
+ [114] 15
+ [129] 16
+ [144] 17
+ [159] 28
+ [174] bottom
+
+Replacing all but 29 with []
+Selection changed from 12 to null
+----list[length=1][height=84]----
+ [0] top
+*[0] 29
+*[15] bottom
+
+ArrowDown
+----list[length=1][height=84]----
+ [0] top
+*[0] 29
+*[15] bottom
+
+

Powered by Google App Engine
This is Rietveld 408576698