summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/canvas/canvas-scroll-path-into-view-expected.txt
blob: 3af58e763e89c0a2bc6a451a9d6fcee44bb52061 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
Series of tests to ensure correct results of scrolling path into view on canvas

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


Test case 1: scrollPathIntoView() / CTM == identity
PASS testValue is 150
PASS testValue is 650
PASS testValue is 650
PASS testValue is 1150
PASS testValue is 650
PASS testValue is 150
PASS testValue is 650
PASS testValue is 650
PASS testValue is 1150
PASS testValue is 650
PASS testValue is 150
PASS testValue is 650
PASS testValue is 650
PASS testValue is 1150
PASS testValue is 650
PASS testValue is 150
PASS testValue is 650
PASS testValue is 650
PASS testValue is 1150
PASS testValue is 650

Test case 2: scrollPathIntoView() / CTM != identity
PASS testValue is 136
PASS testValue is 636
PASS testValue is 636
PASS testValue is 1136
PASS testValue is 636
PASS testValue is 106
PASS testValue is 606
PASS testValue is 606
PASS testValue is 1106
PASS testValue is 606
PASS testValue is 133
PASS testValue is 633
PASS testValue is 633
PASS testValue is 1133
PASS testValue is 633
PASS testValue is 160
PASS testValue is 660
PASS testValue is 660
PASS testValue is 1160
PASS testValue is 660

Test case 3: scrollPathIntoView(path2d) / CTM == identity
PASS testValue is 150
PASS testValue is 650
PASS testValue is 650
PASS testValue is 1150
PASS testValue is 650
PASS testValue is 150
PASS testValue is 650
PASS testValue is 650
PASS testValue is 1150
PASS testValue is 650
PASS testValue is 150
PASS testValue is 650
PASS testValue is 650
PASS testValue is 1150
PASS testValue is 650
PASS testValue is 150
PASS testValue is 650
PASS testValue is 650
PASS testValue is 1150
PASS testValue is 650

Test case 4: scrollPathIntoView(path2d) / CTM != identity
PASS testValue is 136
PASS testValue is 636
PASS testValue is 636
PASS testValue is 1136
PASS testValue is 636
PASS testValue is 106
PASS testValue is 606
PASS testValue is 606
PASS testValue is 1106
PASS testValue is 606
PASS testValue is 133
PASS testValue is 633
PASS testValue is 633
PASS testValue is 1133
PASS testValue is 633
PASS testValue is 160
PASS testValue is 660
PASS testValue is 660
PASS testValue is 1160
PASS testValue is 660

Test case 5: exceptions
PASS context.scrollPathIntoView(null); threw exception TypeError: Failed to execute 'scrollPathIntoView' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Path2D'..
PASS context.scrollPathIntoView([]); threw exception TypeError: Failed to execute 'scrollPathIntoView' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Path2D'..
PASS context.scrollPathIntoView({}); threw exception TypeError: Failed to execute 'scrollPathIntoView' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Path2D'..

PASS successfullyParsed is true

TEST COMPLETE