summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/scroll-to-text-fragment/find-range-from-text-directive.html.ini
blob: a426bd668030d08f9c62e738f542b4697fd47b9c (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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
[find-range-from-text-directive.html]
  expected:
    if os == "mac": [OK, TIMEOUT]
    [TIMEOUT, OK]
  [inverted range search.]
    expected:
      if os == "win": [PASS, TIMEOUT, NOTRUN]
      if os == "mac": [PASS, TIMEOUT, NOTRUN]
      [NOTRUN, PASS, TIMEOUT]

  [Suffix comes before |end|.]
    expected:
      if os == "win": [PASS, TIMEOUT, NOTRUN]
      if os == "mac": [PASS, TIMEOUT, NOTRUN]
      [NOTRUN, PASS, TIMEOUT]

  [Multiple overlapping prefixes.]
    expected: FAIL

  [match doesn't immediately follow prefix.]
    expected:
      if os == "android": [NOTRUN, PASS, TIMEOUT]
      FAIL

  [match doesn't immediately follow first prefix instance.]
    expected:
      if os == "android": [TIMEOUT, NOTRUN, PASS, FAIL]
      [FAIL, PASS, TIMEOUT, NOTRUN]

  [Suffix must be end bounded.]
    expected:
      if os == "mac": [PASS, TIMEOUT, NOTRUN]
      if os == "win": [PASS, TIMEOUT, NOTRUN]
      [NOTRUN, PASS, TIMEOUT]

  [non-existent exact match.]
    expected:
      if os == "android": [NOTRUN, PASS, TIMEOUT]
      [PASS, TIMEOUT, NOTRUN]

  [non-existent range match.]
    expected:
      if os == "android": [NOTRUN, PASS, TIMEOUT]
      [PASS, TIMEOUT, NOTRUN]

  [Multiple overlapping one letter prefixes.]
    expected: FAIL

  [Content appears between match and suffix.]
    expected:
      if os == "mac": [PASS, NOTRUN]
      if os == "win": [PASS, TIMEOUT, NOTRUN]
      [NOTRUN, PASS]

  [overlapping exact matches with suffix.]
    expected:
      if os == "android": [NOTRUN, FAIL, TIMEOUT]
      [FAIL, TIMEOUT, NOTRUN]

  [Match with no suffix.]
    expected:
      if os == "win": [FAIL, TIMEOUT, NOTRUN]
      if os == "mac": [FAIL, TIMEOUT, NOTRUN]
      [NOTRUN, FAIL, TIMEOUT]

  [Match text after prefix.]
    expected: FAIL

  [Search invisible content between |end| and suffix.]
    expected:
      if os == "win": [FAIL, TIMEOUT, NOTRUN]
      if os == "mac": [FAIL, TIMEOUT, NOTRUN]
      [NOTRUN, FAIL, TIMEOUT]

  [Range with preceeding suffix.]
    expected:
      if os == "mac": [PASS, TIMEOUT, NOTRUN]
      if os == "win": [PASS, TIMEOUT, NOTRUN]
      [NOTRUN, PASS, TIMEOUT]

  [no suffix forces |end| to be end bounded.]
    expected:
      if os == "win": [PASS, TIMEOUT, NOTRUN]
      if os == "mac": [PASS, TIMEOUT, NOTRUN]
      [NOTRUN, PASS, TIMEOUT]

  [|end| must be start bounded even if full range is word bounded.]
    expected:
      if os == "win": [PASS, TIMEOUT, NOTRUN]
      if os == "mac": [PASS, TIMEOUT, NOTRUN]
      [NOTRUN, PASS, TIMEOUT]

  [non-existent |end|.]
    expected:
      if os == "win": [PASS, TIMEOUT, NOTRUN]
      if os == "mac": [PASS, TIMEOUT, NOTRUN]
      [NOTRUN, PASS, TIMEOUT]

  [suffix means |start| need not end on word boundary.]
    expected:
      if os == "linux": [FAIL, NOTRUN]
      FAIL

  [Search invisible content between prefix and match.]
    expected: FAIL

  [overlapping one letter exact matches with suffix.]
    expected:
      if os == "android": [NOTRUN, FAIL, TIMEOUT]
      [FAIL, TIMEOUT, NOTRUN]

  [Basic smoke test - full word match.]
    expected: FAIL

  [matching range search.]
    expected:
      if os == "android": [NOTRUN, FAIL, TIMEOUT]
      if os == "linux": [TIMEOUT, FAIL, NOTRUN]
      [FAIL, TIMEOUT, NOTRUN]

  [Prefix need not end on a word boundary.]
    expected: FAIL

  [|start| doesn't need to start on word boundary.]
    expected:
      if os == "linux": [FAIL, NOTRUN]
      FAIL

  [no-prefix; suffix means |start| need not end on word boundary.]
    expected:
      if os == "android": [NOTRUN, FAIL, TIMEOUT]
      [FAIL, TIMEOUT, NOTRUN]

  [no-prefix; |end| forces |start| to end on word boundary.]
    expected:
      if os == "android": [NOTRUN, PASS, TIMEOUT]
      [PASS, TIMEOUT, NOTRUN]

  [no-prefix; no |end| or suffix forces |start| to end on word boundary.]
    expected:
      if os == "android": [NOTRUN, PASS, TIMEOUT]
      [PASS, TIMEOUT, NOTRUN]

  [Non-existent suffix.]
    expected:
      if os == "win": [PASS, NOTRUN, TIMEOUT]
      if os == "mac": [PASS, TIMEOUT, NOTRUN]
      [NOTRUN, PASS, TIMEOUT]

  [Suffix need not be start bounded.]
    expected:
      if os == "win": [FAIL, NOTRUN, TIMEOUT]
      if os == "mac": [FAIL, TIMEOUT, NOTRUN]
      [NOTRUN, FAIL, TIMEOUT]

  [|end| must be start bounded.]
    expected:
      if os == "win": [PASS, TIMEOUT, NOTRUN]
      if os == "mac": [PASS, TIMEOUT, NOTRUN]
      [NOTRUN, PASS, TIMEOUT]

  [suffix means |end| need not be end bounded.]
    expected:
      if os == "mac": [FAIL, TIMEOUT, NOTRUN]
      if os == "win": [FAIL, TIMEOUT, NOTRUN]
      [NOTRUN, FAIL, TIMEOUT]

  [|start| must start on a word boundary.]
    expected:
      if os == "android": [NOTRUN, PASS, TIMEOUT]
      [PASS, TIMEOUT, NOTRUN]

  [Non-matching suffix search continues to prefix match.]
    expected:
      if os == "mac": [FAIL, TIMEOUT, NOTRUN]
      [NOTRUN, FAIL, TIMEOUT]

  [Range end matches correct suffix.]
    expected:
      if os == "mac": [FAIL, TIMEOUT, NOTRUN]
      if os == "win": [NOTRUN, TIMEOUT, FAIL]
      [NOTRUN, FAIL, TIMEOUT]

  [Non-matching suffix in first potential match.]
    expected:
      if os == "mac": [FAIL, TIMEOUT, NOTRUN]
      if os == "win": [FAIL, NOTRUN, TIMEOUT]
      [NOTRUN, FAIL, TIMEOUT]

  [match doesn't immediately follow prefix.]
    expected: [PASS, TIMEOUT, NOTRUN]

  [prefix with non-existent range match.]
    expected:
      if os == "linux": [PASS, TIMEOUT, NOTRUN]
      [PASS, TIMEOUT]

  [no |end| or suffix forces |start| to end on word boundary.]
    expected:
      if os == "linux": [PASS, TIMEOUT]

  [prefix with non-existent exact match.]
    expected:
      if os == "linux": [PASS, NOTRUN]