summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/syntax/parsing/contains.json
blob: 249c9fe014a0110d813e81af974fbe121023f627 (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
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
[
    {
        "id": "overview-of-the-parsing-model",
        "original_id": "overview-of-the-parsing-model"
    },
    {
        "id": "the-input-byte-stream",
        "original_id": "the-input-byte-stream",
        "children": [
            {
                "id": "determining-the-character-encoding",
                "original_id": "determining-the-character-encoding"
            },
            {
                "id": "character-encodings-0",
                "original_id": "character-encodings-0"
            },
            {
                "id": "changing-the-encoding-while-parsing",
                "original_id": "changing-the-encoding-while-parsing"
            },
            {
                "id": "preprocessing-the-input-stream",
                "original_id": "preprocessing-the-input-stream"
            }
        ]
    },
    {
        "id": "parse-state",
        "original_id": "parse-state",
        "children": [
            {
                "id": "the-insertion-mode",
                "original_id": "the-insertion-mode"
            },
            {
                "id": "the-stack-of-open-elements",
                "original_id": "the-stack-of-open-elements"
            },
            {
                "id": "the-list-of-active-formatting-elements",
                "original_id": "the-list-of-active-formatting-elements"
            },
            {
                "id": "the-element-pointers",
                "original_id": "the-element-pointers"
            },
            {
                "id": "other-parsing-state-flags",
                "original_id": "other-parsing-state-flags"
            }
        ]
    },
    {
        "id": "tokenization",
        "original_id": "tokenization",
        "children": [
            {
                "id": "data-state",
                "original_id": "data-state"
            },
            {
                "id": "character-reference-in-data-state",
                "original_id": "character-reference-in-data-state"
            },
            {
                "id": "rcdata-state",
                "original_id": "rcdata-state"
            },
            {
                "id": "character-reference-in-rcdata-state",
                "original_id": "character-reference-in-rcdata-state"
            },
            {
                "id": "rawtext-state",
                "original_id": "rawtext-state"
            },
            {
                "id": "script-data-state",
                "original_id": "script-data-state"
            },
            {
                "id": "plaintext-state",
                "original_id": "plaintext-state"
            },
            {
                "id": "tag-open-state",
                "original_id": "tag-open-state"
            },
            {
                "id": "end-tag-open-state",
                "original_id": "end-tag-open-state"
            },
            {
                "id": "tag-name-state",
                "original_id": "tag-name-state"
            },
            {
                "id": "rcdata-less-than-sign-state",
                "original_id": "rcdata-less-than-sign-state"
            },
            {
                "id": "rcdata-end-tag-open-state",
                "original_id": "rcdata-end-tag-open-state"
            },
            {
                "id": "rcdata-end-tag-name-state",
                "original_id": "rcdata-end-tag-name-state"
            },
            {
                "id": "rawtext-less-than-sign-state",
                "original_id": "rawtext-less-than-sign-state"
            },
            {
                "id": "rawtext-end-tag-open-state",
                "original_id": "rawtext-end-tag-open-state"
            },
            {
                "id": "rawtext-end-tag-name-state",
                "original_id": "rawtext-end-tag-name-state"
            },
            {
                "id": "script-data-less-than-sign-state",
                "original_id": "script-data-less-than-sign-state"
            },
            {
                "id": "script-data-end-tag-open-state",
                "original_id": "script-data-end-tag-open-state"
            },
            {
                "id": "script-data-end-tag-name-state",
                "original_id": "script-data-end-tag-name-state"
            },
            {
                "id": "script-data-escape-start-state",
                "original_id": "script-data-escape-start-state"
            },
            {
                "id": "script-data-escape-start-dash-state",
                "original_id": "script-data-escape-start-dash-state"
            },
            {
                "id": "script-data-escaped-state",
                "original_id": "script-data-escaped-state"
            },
            {
                "id": "script-data-escaped-dash-state",
                "original_id": "script-data-escaped-dash-state"
            },
            {
                "id": "script-data-escaped-dash-dash-state",
                "original_id": "script-data-escaped-dash-dash-state"
            },
            {
                "id": "script-data-escaped-less-than-sign-state",
                "original_id": "script-data-escaped-less-than-sign-state"
            },
            {
                "id": "script-data-escaped-end-tag-open-state",
                "original_id": "script-data-escaped-end-tag-open-state"
            },
            {
                "id": "script-data-escaped-end-tag-name-state",
                "original_id": "script-data-escaped-end-tag-name-state"
            },
            {
                "id": "script-data-double-escape-start-state",
                "original_id": "script-data-double-escape-start-state"
            },
            {
                "id": "script-data-double-escaped-state",
                "original_id": "script-data-double-escaped-state"
            },
            {
                "id": "script-data-double-escaped-dash-state",
                "original_id": "script-data-double-escaped-dash-state"
            },
            {
                "id": "script-data-double-escaped-dash-dash-state",
                "original_id": "script-data-double-escaped-dash-dash-state"
            },
            {
                "id": "script-data-double-escaped-less-than-sign-state",
                "original_id": "script-data-double-escaped-less-than-sign-state"
            },
            {
                "id": "script-data-double-escape-end-state",
                "original_id": "script-data-double-escape-end-state"
            },
            {
                "id": "before-attribute-name-state",
                "original_id": "before-attribute-name-state"
            },
            {
                "id": "attribute-name-state",
                "original_id": "attribute-name-state"
            },
            {
                "id": "after-attribute-name-state",
                "original_id": "after-attribute-name-state"
            },
            {
                "id": "before-attribute-value-state",
                "original_id": "before-attribute-value-state"
            },
            {
                "id": "attribute-value-double-quoted-state",
                "original_id": "attribute-value-(double-quoted)-state"
            },
            {
                "id": "attribute-value-single-quoted-state",
                "original_id": "attribute-value-(single-quoted)-state"
            },
            {
                "id": "attribute-value-unquoted-state",
                "original_id": "attribute-value-(unquoted)-state"
            },
            {
                "id": "character-reference-in-attribute-value-state",
                "original_id": "character-reference-in-attribute-value-state"
            },
            {
                "id": "after-attribute-value-quoted-state",
                "original_id": "after-attribute-value-(quoted)-state"
            },
            {
                "id": "self-closing-start-tag-state",
                "original_id": "self-closing-start-tag-state"
            },
            {
                "id": "bogus-comment-state",
                "original_id": "bogus-comment-state"
            },
            {
                "id": "markup-declaration-open-state",
                "original_id": "markup-declaration-open-state"
            },
            {
                "id": "comment-start-state",
                "original_id": "comment-start-state"
            },
            {
                "id": "comment-start-dash-state",
                "original_id": "comment-start-dash-state"
            },
            {
                "id": "comment-state",
                "original_id": "comment-state"
            },
            {
                "id": "comment-end-dash-state",
                "original_id": "comment-end-dash-state"
            },
            {
                "id": "comment-end-state",
                "original_id": "comment-end-state"
            },
            {
                "id": "comment-end-bang-state",
                "original_id": "comment-end-bang-state"
            },
            {
                "id": "doctype-state",
                "original_id": "doctype-state"
            },
            {
                "id": "before-doctype-name-state",
                "original_id": "before-doctype-name-state"
            },
            {
                "id": "doctype-name-state",
                "original_id": "doctype-name-state"
            },
            {
                "id": "after-doctype-name-state",
                "original_id": "after-doctype-name-state"
            },
            {
                "id": "after-doctype-public-keyword-state",
                "original_id": "after-doctype-public-keyword-state"
            },
            {
                "id": "before-doctype-public-identifier-state",
                "original_id": "before-doctype-public-identifier-state"
            },
            {
                "id": "doctype-public-identifier-double-quoted-state",
                "original_id": "doctype-public-identifier-(double-quoted)-state"
            },
            {
                "id": "doctype-public-identifier-single-quoted-state",
                "original_id": "doctype-public-identifier-(single-quoted)-state"
            },
            {
                "id": "after-doctype-public-identifier-state",
                "original_id": "after-doctype-public-identifier-state"
            },
            {
                "id": "between-doctype-public-and-system-identifiers-state",
                "original_id": "between-doctype-public-and-system-identifiers-state"
            },
            {
                "id": "after-doctype-system-keyword-state",
                "original_id": "after-doctype-system-keyword-state"
            },
            {
                "id": "before-doctype-system-identifier-state",
                "original_id": "before-doctype-system-identifier-state"
            },
            {
                "id": "doctype-system-identifier-double-quoted-state",
                "original_id": "doctype-system-identifier-(double-quoted)-state"
            },
            {
                "id": "doctype-system-identifier-single-quoted-state",
                "original_id": "doctype-system-identifier-(single-quoted)-state"
            },
            {
                "id": "after-doctype-system-identifier-state",
                "original_id": "after-doctype-system-identifier-state"
            },
            {
                "id": "bogus-doctype-state",
                "original_id": "bogus-doctype-state"
            },
            {
                "id": "cdata-section-state",
                "original_id": "cdata-section-state"
            },
            {
                "id": "tokenizing-character-references",
                "original_id": "tokenizing-character-references"
            }
        ]
    },
    {
        "id": "tree-construction",
        "original_id": "tree-construction",
        "children": [
            {
                "id": "creating-and-inserting-elements",
                "original_id": "creating-and-inserting-elements"
            },
            {
                "id": "closing-elements-that-have-implied-end-tags",
                "original_id": "closing-elements-that-have-implied-end-tags"
            },
            {
                "id": "foster-parenting",
                "original_id": "foster-parenting"
            },
            {
                "id": "parsing-main-inhtml",
                "original_id": "parsing-main-inhtml",
                "children": [
                    {
                        "id": "the-initial-insertion-mode",
                        "original_id": "the-initial-insertion-mode"
                    },
                    {
                        "id": "the-before-html-insertion-mode",
                        "original_id": "the-before-html-insertion-mode"
                    },
                    {
                        "id": "the-before-head-insertion-mode",
                        "original_id": "the-before-head-insertion-mode"
                    },
                    {
                        "id": "parsing-main-inhead",
                        "original_id": "parsing-main-inhead"
                    },
                    {
                        "id": "parsing-main-inheadnoscript",
                        "original_id": "parsing-main-inheadnoscript"
                    },
                    {
                        "id": "the-after-head-insertion-mode",
                        "original_id": "the-after-head-insertion-mode"
                    },
                    {
                        "id": "parsing-main-inbody",
                        "original_id": "parsing-main-inbody"
                    },
                    {
                        "id": "parsing-main-incdata",
                        "original_id": "parsing-main-incdata"
                    },
                    {
                        "id": "parsing-main-intable",
                        "original_id": "parsing-main-intable"
                    },
                    {
                        "id": "parsing-main-intabletext",
                        "original_id": "parsing-main-intabletext"
                    },
                    {
                        "id": "parsing-main-incaption",
                        "original_id": "parsing-main-incaption"
                    },
                    {
                        "id": "parsing-main-incolgroup",
                        "original_id": "parsing-main-incolgroup"
                    },
                    {
                        "id": "parsing-main-intbody",
                        "original_id": "parsing-main-intbody"
                    },
                    {
                        "id": "parsing-main-intr",
                        "original_id": "parsing-main-intr"
                    },
                    {
                        "id": "parsing-main-intd",
                        "original_id": "parsing-main-intd"
                    },
                    {
                        "id": "parsing-main-inselect",
                        "original_id": "parsing-main-inselect"
                    },
                    {
                        "id": "parsing-main-inselectintable",
                        "original_id": "parsing-main-inselectintable"
                    },
                    {
                        "id": "parsing-main-afterbody",
                        "original_id": "parsing-main-afterbody"
                    },
                    {
                        "id": "parsing-main-inframeset",
                        "original_id": "parsing-main-inframeset"
                    },
                    {
                        "id": "parsing-main-afterframeset",
                        "original_id": "parsing-main-afterframeset"
                    },
                    {
                        "id": "the-after-after-body-insertion-mode",
                        "original_id": "the-after-after-body-insertion-mode"
                    },
                    {
                        "id": "the-after-after-frameset-insertion-mode",
                        "original_id": "the-after-after-frameset-insertion-mode"
                    }
                ]
            },
            {
                "id": "parsing-main-inforeign",
                "original_id": "parsing-main-inforeign"
            }
        ]
    },
    {
        "id": "the-end",
        "original_id": "the-end"
    },
    {
        "id": "coercing-an-html-dom-into-an-infoset",
        "original_id": "coercing-an-html-dom-into-an-infoset"
    },
    {
        "id": "an-introduction-to-error-handling-and-strange-cases-in-the-parser",
        "original_id": "an-introduction-to-error-handling-and-strange-cases-in-the-parser",
        "children": [
            {
                "id": "misnested-tags-b-i-b-i",
                "original_id": "misnested-tags:-b-i-/b-/i"
            },
            {
                "id": "misnested-tags-b-p-b-p",
                "original_id": "misnested-tags:-b-p-/b-/p"
            },
            {
                "id": "unexpected-markup-in-tables",
                "original_id": "unexpected-markup-in-tables"
            },
            {
                "id": "scripts-that-modify-the-page-as-it-is-being-parsed",
                "original_id": "scripts-that-modify-the-page-as-it-is-being-parsed"
            },
            {
                "id": "the-execution-of-scripts-that-are-moving-across-multiple-documents",
                "original_id": "the-execution-of-scripts-that-are-moving-across-multiple-documents"
            },
            {
                "id": "unclosed-formatting-elements",
                "original_id": "unclosed-formatting-elements"
            }
        ]
    }
]