• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2    "tests": [
3        {
4            "fragmentContext": null,
5            "description": "<!doctype html><table><tbody><select><tr>",
6            "input": "<!doctype html><table><tbody><select><tr>",
7            "output": [
8                [
9                    "DOCTYPE",
10                    "html",
11                    null,
12                    null,
13                    true
14                ],
15                [
16                    "StartTag",
17                    "table",
18                    {}
19                ],
20                [
21                    "StartTag",
22                    "tbody",
23                    {}
24                ],
25                [
26                    "StartTag",
27                    "select",
28                    {}
29                ],
30                [
31                    "StartTag",
32                    "tr",
33                    {}
34                ]
35            ]
36        },
37        {
38            "fragmentContext": null,
39            "description": "<!doctype html><table><tr><select><td>",
40            "input": "<!doctype html><table><tr><select><td>",
41            "output": [
42                [
43                    "DOCTYPE",
44                    "html",
45                    null,
46                    null,
47                    true
48                ],
49                [
50                    "StartTag",
51                    "table",
52                    {}
53                ],
54                [
55                    "StartTag",
56                    "tr",
57                    {}
58                ],
59                [
60                    "StartTag",
61                    "select",
62                    {}
63                ],
64                [
65                    "StartTag",
66                    "td",
67                    {}
68                ]
69            ]
70        },
71        {
72            "fragmentContext": null,
73            "description": "<!doctype html><table><tr><td><select><td>",
74            "input": "<!doctype html><table><tr><td><select><td>",
75            "output": [
76                [
77                    "DOCTYPE",
78                    "html",
79                    null,
80                    null,
81                    true
82                ],
83                [
84                    "StartTag",
85                    "table",
86                    {}
87                ],
88                [
89                    "StartTag",
90                    "tr",
91                    {}
92                ],
93                [
94                    "StartTag",
95                    "td",
96                    {}
97                ],
98                [
99                    "StartTag",
100                    "select",
101                    {}
102                ],
103                [
104                    "StartTag",
105                    "td",
106                    {}
107                ]
108            ]
109        },
110        {
111            "fragmentContext": null,
112            "description": "<!doctype html><table><tr><th><select><td>",
113            "input": "<!doctype html><table><tr><th><select><td>",
114            "output": [
115                [
116                    "DOCTYPE",
117                    "html",
118                    null,
119                    null,
120                    true
121                ],
122                [
123                    "StartTag",
124                    "table",
125                    {}
126                ],
127                [
128                    "StartTag",
129                    "tr",
130                    {}
131                ],
132                [
133                    "StartTag",
134                    "th",
135                    {}
136                ],
137                [
138                    "StartTag",
139                    "select",
140                    {}
141                ],
142                [
143                    "StartTag",
144                    "td",
145                    {}
146                ]
147            ]
148        },
149        {
150            "fragmentContext": null,
151            "description": "<!doctype html><table><caption><select><tr>",
152            "input": "<!doctype html><table><caption><select><tr>",
153            "output": [
154                [
155                    "DOCTYPE",
156                    "html",
157                    null,
158                    null,
159                    true
160                ],
161                [
162                    "StartTag",
163                    "table",
164                    {}
165                ],
166                [
167                    "StartTag",
168                    "caption",
169                    {}
170                ],
171                [
172                    "StartTag",
173                    "select",
174                    {}
175                ],
176                [
177                    "StartTag",
178                    "tr",
179                    {}
180                ]
181            ]
182        },
183        {
184            "fragmentContext": null,
185            "description": "<!doctype html><select><tr>",
186            "input": "<!doctype html><select><tr>",
187            "output": [
188                [
189                    "DOCTYPE",
190                    "html",
191                    null,
192                    null,
193                    true
194                ],
195                [
196                    "StartTag",
197                    "select",
198                    {}
199                ],
200                [
201                    "StartTag",
202                    "tr",
203                    {}
204                ]
205            ]
206        },
207        {
208            "fragmentContext": null,
209            "description": "<!doctype html><select><td>",
210            "input": "<!doctype html><select><td>",
211            "output": [
212                [
213                    "DOCTYPE",
214                    "html",
215                    null,
216                    null,
217                    true
218                ],
219                [
220                    "StartTag",
221                    "select",
222                    {}
223                ],
224                [
225                    "StartTag",
226                    "td",
227                    {}
228                ]
229            ]
230        },
231        {
232            "fragmentContext": null,
233            "description": "<!doctype html><select><th>",
234            "input": "<!doctype html><select><th>",
235            "output": [
236                [
237                    "DOCTYPE",
238                    "html",
239                    null,
240                    null,
241                    true
242                ],
243                [
244                    "StartTag",
245                    "select",
246                    {}
247                ],
248                [
249                    "StartTag",
250                    "th",
251                    {}
252                ]
253            ]
254        },
255        {
256            "fragmentContext": null,
257            "description": "<!doctype html><select><tbody>",
258            "input": "<!doctype html><select><tbody>",
259            "output": [
260                [
261                    "DOCTYPE",
262                    "html",
263                    null,
264                    null,
265                    true
266                ],
267                [
268                    "StartTag",
269                    "select",
270                    {}
271                ],
272                [
273                    "StartTag",
274                    "tbody",
275                    {}
276                ]
277            ]
278        },
279        {
280            "fragmentContext": null,
281            "description": "<!doctype html><select><thead>",
282            "input": "<!doctype html><select><thead>",
283            "output": [
284                [
285                    "DOCTYPE",
286                    "html",
287                    null,
288                    null,
289                    true
290                ],
291                [
292                    "StartTag",
293                    "select",
294                    {}
295                ],
296                [
297                    "StartTag",
298                    "thead",
299                    {}
300                ]
301            ]
302        },
303        {
304            "fragmentContext": null,
305            "description": "<!doctype html><select><tfoot>",
306            "input": "<!doctype html><select><tfoot>",
307            "output": [
308                [
309                    "DOCTYPE",
310                    "html",
311                    null,
312                    null,
313                    true
314                ],
315                [
316                    "StartTag",
317                    "select",
318                    {}
319                ],
320                [
321                    "StartTag",
322                    "tfoot",
323                    {}
324                ]
325            ]
326        },
327        {
328            "fragmentContext": null,
329            "description": "<!doctype html><select><caption>",
330            "input": "<!doctype html><select><caption>",
331            "output": [
332                [
333                    "DOCTYPE",
334                    "html",
335                    null,
336                    null,
337                    true
338                ],
339                [
340                    "StartTag",
341                    "select",
342                    {}
343                ],
344                [
345                    "StartTag",
346                    "caption",
347                    {}
348                ]
349            ]
350        },
351        {
352            "fragmentContext": null,
353            "description": "<!doctype html><table><tr></table>a",
354            "input": "<!doctype html><table><tr></table>a",
355            "output": [
356                [
357                    "DOCTYPE",
358                    "html",
359                    null,
360                    null,
361                    true
362                ],
363                [
364                    "StartTag",
365                    "table",
366                    {}
367                ],
368                [
369                    "StartTag",
370                    "tr",
371                    {}
372                ],
373                [
374                    "EndTag",
375                    "table"
376                ],
377                [
378                    "Character",
379                    "a"
380                ]
381            ]
382        }
383    ]
384}