parse5 0.6.1 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.npmignore +3 -1
- package/LICENSE +1 -1
- package/README.md +166 -77
- package/index.js +7 -0
- package/lib/{html.js → const/html.js} +0 -0
- package/lib/{unicode.js → const/unicode.js} +0 -0
- package/lib/{named_entity_trie.js → tokenization_stage/named_entity_trie.js} +1 -1
- package/lib/tokenization_stage/parser_simulator.js +2 -0
- package/lib/{preprocessor.js → tokenization_stage/preprocessor.js} +5 -5
- package/lib/{tokenizer.js → tokenization_stage/tokenizer.js} +37 -37
- package/lib/{default_tree_adapter.js → tree_adapters/default.js} +47 -0
- package/lib/tree_adapters/htmlparser2.js +267 -0
- package/lib/{formatting_element_list.js → tree_construction_stage/formatting_element_list.js} +1 -1
- package/lib/{open_element_stack.js → tree_construction_stage/open_element_stack.js} +2 -2
- package/lib/{parser.js → tree_construction_stage/parser.js} +8 -8
- package/lib/tree_construction_stage/tree_serializer.js +165 -0
- package/package.json +33 -26
- package/test/data/tokenizer/contentModelFlags.test +0 -75
- package/test/data/tokenizer/domjs.test +0 -90
- package/test/data/tokenizer/entities.test +0 -283
- package/test/data/tokenizer/escapeFlag.test +0 -33
- package/test/data/tokenizer/namedEntities.test +0 -44189
- package/test/data/tokenizer/numericEntities.test +0 -1313
- package/test/data/tokenizer/pendingSpecChanges.test +0 -7
- package/test/data/tokenizer/test1.test +0 -196
- package/test/data/tokenizer/test2.test +0 -179
- package/test/data/tokenizer/test3.test +0 -6047
- package/test/data/tokenizer/test4.test +0 -344
- package/test/data/tokenizer/unicodeChars.test +0 -1295
- package/test/data/tokenizer/unicodeCharsProblematic.test +0 -27
- package/test/data/tree-construction/adoption01.dat +0 -275
- package/test/data/tree-construction/adoption02.dat +0 -31
- package/test/data/tree-construction/comments01.dat +0 -146
- package/test/data/tree-construction/doctype01.dat +0 -370
- package/test/data/tree-construction/domjs-unsafe.dat +0 -0
- package/test/data/tree-construction/entities01.dat +0 -603
- package/test/data/tree-construction/entities02.dat +0 -249
- package/test/data/tree-construction/html5test-com.dat +0 -246
- package/test/data/tree-construction/inbody01.dat +0 -43
- package/test/data/tree-construction/isindex.dat +0 -40
- package/test/data/tree-construction/main-element.dat +0 -29
- package/test/data/tree-construction/pending-spec-changes-plain-text-unsafe.dat +0 -0
- package/test/data/tree-construction/pending-spec-changes.dat +0 -52
- package/test/data/tree-construction/plain-text-unsafe.dat +0 -0
- package/test/data/tree-construction/scriptdata01.dat +0 -308
- package/test/data/tree-construction/tables01.dat +0 -212
- package/test/data/tree-construction/tests1.dat +0 -1952
- package/test/data/tree-construction/tests10.dat +0 -799
- package/test/data/tree-construction/tests11.dat +0 -482
- package/test/data/tree-construction/tests12.dat +0 -62
- package/test/data/tree-construction/tests14.dat +0 -74
- package/test/data/tree-construction/tests15.dat +0 -208
- package/test/data/tree-construction/tests16.dat +0 -2299
- package/test/data/tree-construction/tests17.dat +0 -153
- package/test/data/tree-construction/tests18.dat +0 -269
- package/test/data/tree-construction/tests19.dat +0 -1249
- package/test/data/tree-construction/tests2.dat +0 -763
- package/test/data/tree-construction/tests20.dat +0 -455
- package/test/data/tree-construction/tests21.dat +0 -257
- package/test/data/tree-construction/tests22.dat +0 -157
- package/test/data/tree-construction/tests23.dat +0 -155
- package/test/data/tree-construction/tests24.dat +0 -79
- package/test/data/tree-construction/tests25.dat +0 -219
- package/test/data/tree-construction/tests26.dat +0 -313
- package/test/data/tree-construction/tests3.dat +0 -305
- package/test/data/tree-construction/tests4.dat +0 -59
- package/test/data/tree-construction/tests5.dat +0 -191
- package/test/data/tree-construction/tests6.dat +0 -663
- package/test/data/tree-construction/tests7.dat +0 -390
- package/test/data/tree-construction/tests8.dat +0 -148
- package/test/data/tree-construction/tests9.dat +0 -457
- package/test/data/tree-construction/tests_innerHTML_1.dat +0 -741
- package/test/data/tree-construction/tricky01.dat +0 -261
- package/test/data/tree-construction/webkit01.dat +0 -594
- package/test/data/tree-construction/webkit02.dat +0 -94
- package/test/fixtures/formatting_element_list_test.js +0 -267
- package/test/fixtures/open_element_stack_test.js +0 -495
- package/test/fixtures/parser_test.js +0 -160
- package/test/fixtures/tokenizer_test.js +0 -178
- package/test/run_tests.js +0 -10
|
@@ -1,799 +0,0 @@
|
|
|
1
|
-
#data
|
|
2
|
-
<!DOCTYPE html><svg></svg>
|
|
3
|
-
#errors
|
|
4
|
-
#document
|
|
5
|
-
| <!DOCTYPE html>
|
|
6
|
-
| <html>
|
|
7
|
-
| <head>
|
|
8
|
-
| <body>
|
|
9
|
-
| <svg svg>
|
|
10
|
-
|
|
11
|
-
#data
|
|
12
|
-
<!DOCTYPE html><svg></svg><![CDATA[a]]>
|
|
13
|
-
#errors
|
|
14
|
-
29: Bogus comment
|
|
15
|
-
#document
|
|
16
|
-
| <!DOCTYPE html>
|
|
17
|
-
| <html>
|
|
18
|
-
| <head>
|
|
19
|
-
| <body>
|
|
20
|
-
| <svg svg>
|
|
21
|
-
| <!-- [CDATA[a]] -->
|
|
22
|
-
|
|
23
|
-
#data
|
|
24
|
-
<!DOCTYPE html><body><svg></svg>
|
|
25
|
-
#errors
|
|
26
|
-
#document
|
|
27
|
-
| <!DOCTYPE html>
|
|
28
|
-
| <html>
|
|
29
|
-
| <head>
|
|
30
|
-
| <body>
|
|
31
|
-
| <svg svg>
|
|
32
|
-
|
|
33
|
-
#data
|
|
34
|
-
<!DOCTYPE html><body><select><svg></svg></select>
|
|
35
|
-
#errors
|
|
36
|
-
35: Stray “svg” start tag.
|
|
37
|
-
42: Stray end tag “svg”
|
|
38
|
-
#document
|
|
39
|
-
| <!DOCTYPE html>
|
|
40
|
-
| <html>
|
|
41
|
-
| <head>
|
|
42
|
-
| <body>
|
|
43
|
-
| <select>
|
|
44
|
-
|
|
45
|
-
#data
|
|
46
|
-
<!DOCTYPE html><body><select><option><svg></svg></option></select>
|
|
47
|
-
#errors
|
|
48
|
-
43: Stray “svg” start tag.
|
|
49
|
-
50: Stray end tag “svg”
|
|
50
|
-
#document
|
|
51
|
-
| <!DOCTYPE html>
|
|
52
|
-
| <html>
|
|
53
|
-
| <head>
|
|
54
|
-
| <body>
|
|
55
|
-
| <select>
|
|
56
|
-
| <option>
|
|
57
|
-
|
|
58
|
-
#data
|
|
59
|
-
<!DOCTYPE html><body><table><svg></svg></table>
|
|
60
|
-
#errors
|
|
61
|
-
34: Start tag “svg” seen in “table”.
|
|
62
|
-
41: Stray end tag “svg”.
|
|
63
|
-
#document
|
|
64
|
-
| <!DOCTYPE html>
|
|
65
|
-
| <html>
|
|
66
|
-
| <head>
|
|
67
|
-
| <body>
|
|
68
|
-
| <svg svg>
|
|
69
|
-
| <table>
|
|
70
|
-
|
|
71
|
-
#data
|
|
72
|
-
<!DOCTYPE html><body><table><svg><g>foo</g></svg></table>
|
|
73
|
-
#errors
|
|
74
|
-
34: Start tag “svg” seen in “table”.
|
|
75
|
-
46: Stray end tag “g”.
|
|
76
|
-
53: Stray end tag “svg”.
|
|
77
|
-
#document
|
|
78
|
-
| <!DOCTYPE html>
|
|
79
|
-
| <html>
|
|
80
|
-
| <head>
|
|
81
|
-
| <body>
|
|
82
|
-
| <svg svg>
|
|
83
|
-
| <svg g>
|
|
84
|
-
| "foo"
|
|
85
|
-
| <table>
|
|
86
|
-
|
|
87
|
-
#data
|
|
88
|
-
<!DOCTYPE html><body><table><svg><g>foo</g><g>bar</g></svg></table>
|
|
89
|
-
#errors
|
|
90
|
-
34: Start tag “svg” seen in “table”.
|
|
91
|
-
46: Stray end tag “g”.
|
|
92
|
-
58: Stray end tag “g”.
|
|
93
|
-
65: Stray end tag “svg”.
|
|
94
|
-
#document
|
|
95
|
-
| <!DOCTYPE html>
|
|
96
|
-
| <html>
|
|
97
|
-
| <head>
|
|
98
|
-
| <body>
|
|
99
|
-
| <svg svg>
|
|
100
|
-
| <svg g>
|
|
101
|
-
| "foo"
|
|
102
|
-
| <svg g>
|
|
103
|
-
| "bar"
|
|
104
|
-
| <table>
|
|
105
|
-
|
|
106
|
-
#data
|
|
107
|
-
<!DOCTYPE html><body><table><tbody><svg><g>foo</g><g>bar</g></svg></tbody></table>
|
|
108
|
-
#errors
|
|
109
|
-
41: Start tag “svg” seen in “table”.
|
|
110
|
-
53: Stray end tag “g”.
|
|
111
|
-
65: Stray end tag “g”.
|
|
112
|
-
72: Stray end tag “svg”.
|
|
113
|
-
#document
|
|
114
|
-
| <!DOCTYPE html>
|
|
115
|
-
| <html>
|
|
116
|
-
| <head>
|
|
117
|
-
| <body>
|
|
118
|
-
| <svg svg>
|
|
119
|
-
| <svg g>
|
|
120
|
-
| "foo"
|
|
121
|
-
| <svg g>
|
|
122
|
-
| "bar"
|
|
123
|
-
| <table>
|
|
124
|
-
| <tbody>
|
|
125
|
-
|
|
126
|
-
#data
|
|
127
|
-
<!DOCTYPE html><body><table><tbody><tr><svg><g>foo</g><g>bar</g></svg></tr></tbody></table>
|
|
128
|
-
#errors
|
|
129
|
-
45: Start tag “svg” seen in “table”.
|
|
130
|
-
57: Stray end tag “g”.
|
|
131
|
-
69: Stray end tag “g”.
|
|
132
|
-
76: Stray end tag “svg”.
|
|
133
|
-
#document
|
|
134
|
-
| <!DOCTYPE html>
|
|
135
|
-
| <html>
|
|
136
|
-
| <head>
|
|
137
|
-
| <body>
|
|
138
|
-
| <svg svg>
|
|
139
|
-
| <svg g>
|
|
140
|
-
| "foo"
|
|
141
|
-
| <svg g>
|
|
142
|
-
| "bar"
|
|
143
|
-
| <table>
|
|
144
|
-
| <tbody>
|
|
145
|
-
| <tr>
|
|
146
|
-
|
|
147
|
-
#data
|
|
148
|
-
<!DOCTYPE html><body><table><tbody><tr><td><svg><g>foo</g><g>bar</g></svg></td></tr></tbody></table>
|
|
149
|
-
#errors
|
|
150
|
-
#document
|
|
151
|
-
| <!DOCTYPE html>
|
|
152
|
-
| <html>
|
|
153
|
-
| <head>
|
|
154
|
-
| <body>
|
|
155
|
-
| <table>
|
|
156
|
-
| <tbody>
|
|
157
|
-
| <tr>
|
|
158
|
-
| <td>
|
|
159
|
-
| <svg svg>
|
|
160
|
-
| <svg g>
|
|
161
|
-
| "foo"
|
|
162
|
-
| <svg g>
|
|
163
|
-
| "bar"
|
|
164
|
-
|
|
165
|
-
#data
|
|
166
|
-
<!DOCTYPE html><body><table><tbody><tr><td><svg><g>foo</g><g>bar</g></svg><p>baz</td></tr></tbody></table>
|
|
167
|
-
#errors
|
|
168
|
-
#document
|
|
169
|
-
| <!DOCTYPE html>
|
|
170
|
-
| <html>
|
|
171
|
-
| <head>
|
|
172
|
-
| <body>
|
|
173
|
-
| <table>
|
|
174
|
-
| <tbody>
|
|
175
|
-
| <tr>
|
|
176
|
-
| <td>
|
|
177
|
-
| <svg svg>
|
|
178
|
-
| <svg g>
|
|
179
|
-
| "foo"
|
|
180
|
-
| <svg g>
|
|
181
|
-
| "bar"
|
|
182
|
-
| <p>
|
|
183
|
-
| "baz"
|
|
184
|
-
|
|
185
|
-
#data
|
|
186
|
-
<!DOCTYPE html><body><table><caption><svg><g>foo</g><g>bar</g></svg><p>baz</caption></table>
|
|
187
|
-
#errors
|
|
188
|
-
#document
|
|
189
|
-
| <!DOCTYPE html>
|
|
190
|
-
| <html>
|
|
191
|
-
| <head>
|
|
192
|
-
| <body>
|
|
193
|
-
| <table>
|
|
194
|
-
| <caption>
|
|
195
|
-
| <svg svg>
|
|
196
|
-
| <svg g>
|
|
197
|
-
| "foo"
|
|
198
|
-
| <svg g>
|
|
199
|
-
| "bar"
|
|
200
|
-
| <p>
|
|
201
|
-
| "baz"
|
|
202
|
-
|
|
203
|
-
#data
|
|
204
|
-
<!DOCTYPE html><body><table><caption><svg><g>foo</g><g>bar</g><p>baz</table><p>quux
|
|
205
|
-
#errors
|
|
206
|
-
70: HTML start tag “p” in a foreign namespace context.
|
|
207
|
-
81: “table” closed but “caption” was still open.
|
|
208
|
-
#document
|
|
209
|
-
| <!DOCTYPE html>
|
|
210
|
-
| <html>
|
|
211
|
-
| <head>
|
|
212
|
-
| <body>
|
|
213
|
-
| <table>
|
|
214
|
-
| <caption>
|
|
215
|
-
| <svg svg>
|
|
216
|
-
| <svg g>
|
|
217
|
-
| "foo"
|
|
218
|
-
| <svg g>
|
|
219
|
-
| "bar"
|
|
220
|
-
| <p>
|
|
221
|
-
| "baz"
|
|
222
|
-
| <p>
|
|
223
|
-
| "quux"
|
|
224
|
-
|
|
225
|
-
#data
|
|
226
|
-
<!DOCTYPE html><body><table><caption><svg><g>foo</g><g>bar</g>baz</table><p>quux
|
|
227
|
-
#errors
|
|
228
|
-
78: “table” closed but “caption” was still open.
|
|
229
|
-
78: Unclosed elements on stack.
|
|
230
|
-
#document
|
|
231
|
-
| <!DOCTYPE html>
|
|
232
|
-
| <html>
|
|
233
|
-
| <head>
|
|
234
|
-
| <body>
|
|
235
|
-
| <table>
|
|
236
|
-
| <caption>
|
|
237
|
-
| <svg svg>
|
|
238
|
-
| <svg g>
|
|
239
|
-
| "foo"
|
|
240
|
-
| <svg g>
|
|
241
|
-
| "bar"
|
|
242
|
-
| "baz"
|
|
243
|
-
| <p>
|
|
244
|
-
| "quux"
|
|
245
|
-
|
|
246
|
-
#data
|
|
247
|
-
<!DOCTYPE html><body><table><colgroup><svg><g>foo</g><g>bar</g><p>baz</table><p>quux
|
|
248
|
-
#errors
|
|
249
|
-
44: Start tag “svg” seen in “table”.
|
|
250
|
-
56: Stray end tag “g”.
|
|
251
|
-
68: Stray end tag “g”.
|
|
252
|
-
71: HTML start tag “p” in a foreign namespace context.
|
|
253
|
-
71: Start tag “p” seen in “table”.
|
|
254
|
-
#document
|
|
255
|
-
| <!DOCTYPE html>
|
|
256
|
-
| <html>
|
|
257
|
-
| <head>
|
|
258
|
-
| <body>
|
|
259
|
-
| <svg svg>
|
|
260
|
-
| <svg g>
|
|
261
|
-
| "foo"
|
|
262
|
-
| <svg g>
|
|
263
|
-
| "bar"
|
|
264
|
-
| <p>
|
|
265
|
-
| "baz"
|
|
266
|
-
| <table>
|
|
267
|
-
| <colgroup>
|
|
268
|
-
| <p>
|
|
269
|
-
| "quux"
|
|
270
|
-
|
|
271
|
-
#data
|
|
272
|
-
<!DOCTYPE html><body><table><tr><td><select><svg><g>foo</g><g>bar</g><p>baz</table><p>quux
|
|
273
|
-
#errors
|
|
274
|
-
50: Stray “svg” start tag.
|
|
275
|
-
54: Stray “g” start tag.
|
|
276
|
-
62: Stray end tag “g”
|
|
277
|
-
66: Stray “g” start tag.
|
|
278
|
-
74: Stray end tag “g”
|
|
279
|
-
77: Stray “p” start tag.
|
|
280
|
-
88: “table” end tag with “select” open.
|
|
281
|
-
#document
|
|
282
|
-
| <!DOCTYPE html>
|
|
283
|
-
| <html>
|
|
284
|
-
| <head>
|
|
285
|
-
| <body>
|
|
286
|
-
| <table>
|
|
287
|
-
| <tbody>
|
|
288
|
-
| <tr>
|
|
289
|
-
| <td>
|
|
290
|
-
| <select>
|
|
291
|
-
| "foobarbaz"
|
|
292
|
-
| <p>
|
|
293
|
-
| "quux"
|
|
294
|
-
|
|
295
|
-
#data
|
|
296
|
-
<!DOCTYPE html><body><table><select><svg><g>foo</g><g>bar</g><p>baz</table><p>quux
|
|
297
|
-
#errors
|
|
298
|
-
36: Start tag “select” seen in “table”.
|
|
299
|
-
42: Stray “svg” start tag.
|
|
300
|
-
46: Stray “g” start tag.
|
|
301
|
-
54: Stray end tag “g”
|
|
302
|
-
58: Stray “g” start tag.
|
|
303
|
-
66: Stray end tag “g”
|
|
304
|
-
69: Stray “p” start tag.
|
|
305
|
-
80: “table” end tag with “select” open.
|
|
306
|
-
#document
|
|
307
|
-
| <!DOCTYPE html>
|
|
308
|
-
| <html>
|
|
309
|
-
| <head>
|
|
310
|
-
| <body>
|
|
311
|
-
| <select>
|
|
312
|
-
| "foobarbaz"
|
|
313
|
-
| <table>
|
|
314
|
-
| <p>
|
|
315
|
-
| "quux"
|
|
316
|
-
|
|
317
|
-
#data
|
|
318
|
-
<!DOCTYPE html><body></body></html><svg><g>foo</g><g>bar</g><p>baz
|
|
319
|
-
#errors
|
|
320
|
-
41: Stray “svg” start tag.
|
|
321
|
-
68: HTML start tag “p” in a foreign namespace context.
|
|
322
|
-
#document
|
|
323
|
-
| <!DOCTYPE html>
|
|
324
|
-
| <html>
|
|
325
|
-
| <head>
|
|
326
|
-
| <body>
|
|
327
|
-
| <svg svg>
|
|
328
|
-
| <svg g>
|
|
329
|
-
| "foo"
|
|
330
|
-
| <svg g>
|
|
331
|
-
| "bar"
|
|
332
|
-
| <p>
|
|
333
|
-
| "baz"
|
|
334
|
-
|
|
335
|
-
#data
|
|
336
|
-
<!DOCTYPE html><body></body><svg><g>foo</g><g>bar</g><p>baz
|
|
337
|
-
#errors
|
|
338
|
-
34: Stray “svg” start tag.
|
|
339
|
-
61: HTML start tag “p” in a foreign namespace context.
|
|
340
|
-
#document
|
|
341
|
-
| <!DOCTYPE html>
|
|
342
|
-
| <html>
|
|
343
|
-
| <head>
|
|
344
|
-
| <body>
|
|
345
|
-
| <svg svg>
|
|
346
|
-
| <svg g>
|
|
347
|
-
| "foo"
|
|
348
|
-
| <svg g>
|
|
349
|
-
| "bar"
|
|
350
|
-
| <p>
|
|
351
|
-
| "baz"
|
|
352
|
-
|
|
353
|
-
#data
|
|
354
|
-
<!DOCTYPE html><frameset><svg><g></g><g></g><p><span>
|
|
355
|
-
#errors
|
|
356
|
-
31: Stray “svg” start tag.
|
|
357
|
-
35: Stray “g” start tag.
|
|
358
|
-
40: Stray end tag “g”
|
|
359
|
-
44: Stray “g” start tag.
|
|
360
|
-
49: Stray end tag “g”
|
|
361
|
-
52: Stray “p” start tag.
|
|
362
|
-
58: Stray “span” start tag.
|
|
363
|
-
58: End of file seen and there were open elements.
|
|
364
|
-
#document
|
|
365
|
-
| <!DOCTYPE html>
|
|
366
|
-
| <html>
|
|
367
|
-
| <head>
|
|
368
|
-
| <frameset>
|
|
369
|
-
|
|
370
|
-
#data
|
|
371
|
-
<!DOCTYPE html><frameset></frameset><svg><g></g><g></g><p><span>
|
|
372
|
-
#errors
|
|
373
|
-
42: Stray “svg” start tag.
|
|
374
|
-
46: Stray “g” start tag.
|
|
375
|
-
51: Stray end tag “g”
|
|
376
|
-
55: Stray “g” start tag.
|
|
377
|
-
60: Stray end tag “g”
|
|
378
|
-
63: Stray “p” start tag.
|
|
379
|
-
69: Stray “span” start tag.
|
|
380
|
-
#document
|
|
381
|
-
| <!DOCTYPE html>
|
|
382
|
-
| <html>
|
|
383
|
-
| <head>
|
|
384
|
-
| <frameset>
|
|
385
|
-
|
|
386
|
-
#data
|
|
387
|
-
<!DOCTYPE html><body xlink:href=foo><svg xlink:href=foo></svg>
|
|
388
|
-
#errors
|
|
389
|
-
#document
|
|
390
|
-
| <!DOCTYPE html>
|
|
391
|
-
| <html>
|
|
392
|
-
| <head>
|
|
393
|
-
| <body>
|
|
394
|
-
| xlink:href="foo"
|
|
395
|
-
| <svg svg>
|
|
396
|
-
| xlink href="foo"
|
|
397
|
-
|
|
398
|
-
#data
|
|
399
|
-
<!DOCTYPE html><body xlink:href=foo xml:lang=en><svg><g xml:lang=en xlink:href=foo></g></svg>
|
|
400
|
-
#errors
|
|
401
|
-
#document
|
|
402
|
-
| <!DOCTYPE html>
|
|
403
|
-
| <html>
|
|
404
|
-
| <head>
|
|
405
|
-
| <body>
|
|
406
|
-
| xlink:href="foo"
|
|
407
|
-
| xml:lang="en"
|
|
408
|
-
| <svg svg>
|
|
409
|
-
| <svg g>
|
|
410
|
-
| xlink href="foo"
|
|
411
|
-
| xml lang="en"
|
|
412
|
-
|
|
413
|
-
#data
|
|
414
|
-
<!DOCTYPE html><body xlink:href=foo xml:lang=en><svg><g xml:lang=en xlink:href=foo /></svg>
|
|
415
|
-
#errors
|
|
416
|
-
#document
|
|
417
|
-
| <!DOCTYPE html>
|
|
418
|
-
| <html>
|
|
419
|
-
| <head>
|
|
420
|
-
| <body>
|
|
421
|
-
| xlink:href="foo"
|
|
422
|
-
| xml:lang="en"
|
|
423
|
-
| <svg svg>
|
|
424
|
-
| <svg g>
|
|
425
|
-
| xlink href="foo"
|
|
426
|
-
| xml lang="en"
|
|
427
|
-
|
|
428
|
-
#data
|
|
429
|
-
<!DOCTYPE html><body xlink:href=foo xml:lang=en><svg><g xml:lang=en xlink:href=foo />bar</svg>
|
|
430
|
-
#errors
|
|
431
|
-
#document
|
|
432
|
-
| <!DOCTYPE html>
|
|
433
|
-
| <html>
|
|
434
|
-
| <head>
|
|
435
|
-
| <body>
|
|
436
|
-
| xlink:href="foo"
|
|
437
|
-
| xml:lang="en"
|
|
438
|
-
| <svg svg>
|
|
439
|
-
| <svg g>
|
|
440
|
-
| xlink href="foo"
|
|
441
|
-
| xml lang="en"
|
|
442
|
-
| "bar"
|
|
443
|
-
|
|
444
|
-
#data
|
|
445
|
-
<svg></path>
|
|
446
|
-
#errors
|
|
447
|
-
#document
|
|
448
|
-
| <html>
|
|
449
|
-
| <head>
|
|
450
|
-
| <body>
|
|
451
|
-
| <svg svg>
|
|
452
|
-
|
|
453
|
-
#data
|
|
454
|
-
<div><svg></div>a
|
|
455
|
-
#errors
|
|
456
|
-
#document
|
|
457
|
-
| <html>
|
|
458
|
-
| <head>
|
|
459
|
-
| <body>
|
|
460
|
-
| <div>
|
|
461
|
-
| <svg svg>
|
|
462
|
-
| "a"
|
|
463
|
-
|
|
464
|
-
#data
|
|
465
|
-
<div><svg><path></div>a
|
|
466
|
-
#errors
|
|
467
|
-
#document
|
|
468
|
-
| <html>
|
|
469
|
-
| <head>
|
|
470
|
-
| <body>
|
|
471
|
-
| <div>
|
|
472
|
-
| <svg svg>
|
|
473
|
-
| <svg path>
|
|
474
|
-
| "a"
|
|
475
|
-
|
|
476
|
-
#data
|
|
477
|
-
<div><svg><path></svg><path>
|
|
478
|
-
#errors
|
|
479
|
-
#document
|
|
480
|
-
| <html>
|
|
481
|
-
| <head>
|
|
482
|
-
| <body>
|
|
483
|
-
| <div>
|
|
484
|
-
| <svg svg>
|
|
485
|
-
| <svg path>
|
|
486
|
-
| <path>
|
|
487
|
-
|
|
488
|
-
#data
|
|
489
|
-
<div><svg><path><foreignObject><math></div>a
|
|
490
|
-
#errors
|
|
491
|
-
#document
|
|
492
|
-
| <html>
|
|
493
|
-
| <head>
|
|
494
|
-
| <body>
|
|
495
|
-
| <div>
|
|
496
|
-
| <svg svg>
|
|
497
|
-
| <svg path>
|
|
498
|
-
| <svg foreignObject>
|
|
499
|
-
| <math math>
|
|
500
|
-
| "a"
|
|
501
|
-
|
|
502
|
-
#data
|
|
503
|
-
<div><svg><path><foreignObject><p></div>a
|
|
504
|
-
#errors
|
|
505
|
-
#document
|
|
506
|
-
| <html>
|
|
507
|
-
| <head>
|
|
508
|
-
| <body>
|
|
509
|
-
| <div>
|
|
510
|
-
| <svg svg>
|
|
511
|
-
| <svg path>
|
|
512
|
-
| <svg foreignObject>
|
|
513
|
-
| <p>
|
|
514
|
-
| "a"
|
|
515
|
-
|
|
516
|
-
#data
|
|
517
|
-
<!DOCTYPE html><svg><desc><div><svg><ul>a
|
|
518
|
-
#errors
|
|
519
|
-
40: HTML start tag “ul” in a foreign namespace context.
|
|
520
|
-
41: End of file in a foreign namespace context.
|
|
521
|
-
#document
|
|
522
|
-
| <!DOCTYPE html>
|
|
523
|
-
| <html>
|
|
524
|
-
| <head>
|
|
525
|
-
| <body>
|
|
526
|
-
| <svg svg>
|
|
527
|
-
| <svg desc>
|
|
528
|
-
| <div>
|
|
529
|
-
| <svg svg>
|
|
530
|
-
| <ul>
|
|
531
|
-
| "a"
|
|
532
|
-
|
|
533
|
-
#data
|
|
534
|
-
<!DOCTYPE html><svg><desc><svg><ul>a
|
|
535
|
-
#errors
|
|
536
|
-
35: HTML start tag “ul” in a foreign namespace context.
|
|
537
|
-
36: End of file in a foreign namespace context.
|
|
538
|
-
#document
|
|
539
|
-
| <!DOCTYPE html>
|
|
540
|
-
| <html>
|
|
541
|
-
| <head>
|
|
542
|
-
| <body>
|
|
543
|
-
| <svg svg>
|
|
544
|
-
| <svg desc>
|
|
545
|
-
| <svg svg>
|
|
546
|
-
| <ul>
|
|
547
|
-
| "a"
|
|
548
|
-
|
|
549
|
-
#data
|
|
550
|
-
<!DOCTYPE html><p><svg><desc><p>
|
|
551
|
-
#errors
|
|
552
|
-
#document
|
|
553
|
-
| <!DOCTYPE html>
|
|
554
|
-
| <html>
|
|
555
|
-
| <head>
|
|
556
|
-
| <body>
|
|
557
|
-
| <p>
|
|
558
|
-
| <svg svg>
|
|
559
|
-
| <svg desc>
|
|
560
|
-
| <p>
|
|
561
|
-
|
|
562
|
-
#data
|
|
563
|
-
<!DOCTYPE html><p><svg><title><p>
|
|
564
|
-
#errors
|
|
565
|
-
#document
|
|
566
|
-
| <!DOCTYPE html>
|
|
567
|
-
| <html>
|
|
568
|
-
| <head>
|
|
569
|
-
| <body>
|
|
570
|
-
| <p>
|
|
571
|
-
| <svg svg>
|
|
572
|
-
| <svg title>
|
|
573
|
-
| <p>
|
|
574
|
-
|
|
575
|
-
#data
|
|
576
|
-
<div><svg><path><foreignObject><p></foreignObject><p>
|
|
577
|
-
#errors
|
|
578
|
-
#document
|
|
579
|
-
| <html>
|
|
580
|
-
| <head>
|
|
581
|
-
| <body>
|
|
582
|
-
| <div>
|
|
583
|
-
| <svg svg>
|
|
584
|
-
| <svg path>
|
|
585
|
-
| <svg foreignObject>
|
|
586
|
-
| <p>
|
|
587
|
-
| <p>
|
|
588
|
-
|
|
589
|
-
#data
|
|
590
|
-
<math><mi><div><object><div><span></span></div></object></div></mi><mi>
|
|
591
|
-
#errors
|
|
592
|
-
#document
|
|
593
|
-
| <html>
|
|
594
|
-
| <head>
|
|
595
|
-
| <body>
|
|
596
|
-
| <math math>
|
|
597
|
-
| <math mi>
|
|
598
|
-
| <div>
|
|
599
|
-
| <object>
|
|
600
|
-
| <div>
|
|
601
|
-
| <span>
|
|
602
|
-
| <math mi>
|
|
603
|
-
|
|
604
|
-
#data
|
|
605
|
-
<math><mi><svg><foreignObject><div><div></div></div></foreignObject></svg></mi><mi>
|
|
606
|
-
#errors
|
|
607
|
-
#document
|
|
608
|
-
| <html>
|
|
609
|
-
| <head>
|
|
610
|
-
| <body>
|
|
611
|
-
| <math math>
|
|
612
|
-
| <math mi>
|
|
613
|
-
| <svg svg>
|
|
614
|
-
| <svg foreignObject>
|
|
615
|
-
| <div>
|
|
616
|
-
| <div>
|
|
617
|
-
| <math mi>
|
|
618
|
-
|
|
619
|
-
#data
|
|
620
|
-
<svg><script></script><path>
|
|
621
|
-
#errors
|
|
622
|
-
#document
|
|
623
|
-
| <html>
|
|
624
|
-
| <head>
|
|
625
|
-
| <body>
|
|
626
|
-
| <svg svg>
|
|
627
|
-
| <svg script>
|
|
628
|
-
| <svg path>
|
|
629
|
-
|
|
630
|
-
#data
|
|
631
|
-
<table><svg></svg><tr>
|
|
632
|
-
#errors
|
|
633
|
-
#document
|
|
634
|
-
| <html>
|
|
635
|
-
| <head>
|
|
636
|
-
| <body>
|
|
637
|
-
| <svg svg>
|
|
638
|
-
| <table>
|
|
639
|
-
| <tbody>
|
|
640
|
-
| <tr>
|
|
641
|
-
|
|
642
|
-
#data
|
|
643
|
-
<math><mi><mglyph>
|
|
644
|
-
#errors
|
|
645
|
-
#document
|
|
646
|
-
| <html>
|
|
647
|
-
| <head>
|
|
648
|
-
| <body>
|
|
649
|
-
| <math math>
|
|
650
|
-
| <math mi>
|
|
651
|
-
| <math mglyph>
|
|
652
|
-
|
|
653
|
-
#data
|
|
654
|
-
<math><mi><malignmark>
|
|
655
|
-
#errors
|
|
656
|
-
#document
|
|
657
|
-
| <html>
|
|
658
|
-
| <head>
|
|
659
|
-
| <body>
|
|
660
|
-
| <math math>
|
|
661
|
-
| <math mi>
|
|
662
|
-
| <math malignmark>
|
|
663
|
-
|
|
664
|
-
#data
|
|
665
|
-
<math><mo><mglyph>
|
|
666
|
-
#errors
|
|
667
|
-
#document
|
|
668
|
-
| <html>
|
|
669
|
-
| <head>
|
|
670
|
-
| <body>
|
|
671
|
-
| <math math>
|
|
672
|
-
| <math mo>
|
|
673
|
-
| <math mglyph>
|
|
674
|
-
|
|
675
|
-
#data
|
|
676
|
-
<math><mo><malignmark>
|
|
677
|
-
#errors
|
|
678
|
-
#document
|
|
679
|
-
| <html>
|
|
680
|
-
| <head>
|
|
681
|
-
| <body>
|
|
682
|
-
| <math math>
|
|
683
|
-
| <math mo>
|
|
684
|
-
| <math malignmark>
|
|
685
|
-
|
|
686
|
-
#data
|
|
687
|
-
<math><mn><mglyph>
|
|
688
|
-
#errors
|
|
689
|
-
#document
|
|
690
|
-
| <html>
|
|
691
|
-
| <head>
|
|
692
|
-
| <body>
|
|
693
|
-
| <math math>
|
|
694
|
-
| <math mn>
|
|
695
|
-
| <math mglyph>
|
|
696
|
-
|
|
697
|
-
#data
|
|
698
|
-
<math><mn><malignmark>
|
|
699
|
-
#errors
|
|
700
|
-
#document
|
|
701
|
-
| <html>
|
|
702
|
-
| <head>
|
|
703
|
-
| <body>
|
|
704
|
-
| <math math>
|
|
705
|
-
| <math mn>
|
|
706
|
-
| <math malignmark>
|
|
707
|
-
|
|
708
|
-
#data
|
|
709
|
-
<math><ms><mglyph>
|
|
710
|
-
#errors
|
|
711
|
-
#document
|
|
712
|
-
| <html>
|
|
713
|
-
| <head>
|
|
714
|
-
| <body>
|
|
715
|
-
| <math math>
|
|
716
|
-
| <math ms>
|
|
717
|
-
| <math mglyph>
|
|
718
|
-
|
|
719
|
-
#data
|
|
720
|
-
<math><ms><malignmark>
|
|
721
|
-
#errors
|
|
722
|
-
#document
|
|
723
|
-
| <html>
|
|
724
|
-
| <head>
|
|
725
|
-
| <body>
|
|
726
|
-
| <math math>
|
|
727
|
-
| <math ms>
|
|
728
|
-
| <math malignmark>
|
|
729
|
-
|
|
730
|
-
#data
|
|
731
|
-
<math><mtext><mglyph>
|
|
732
|
-
#errors
|
|
733
|
-
#document
|
|
734
|
-
| <html>
|
|
735
|
-
| <head>
|
|
736
|
-
| <body>
|
|
737
|
-
| <math math>
|
|
738
|
-
| <math mtext>
|
|
739
|
-
| <math mglyph>
|
|
740
|
-
|
|
741
|
-
#data
|
|
742
|
-
<math><mtext><malignmark>
|
|
743
|
-
#errors
|
|
744
|
-
#document
|
|
745
|
-
| <html>
|
|
746
|
-
| <head>
|
|
747
|
-
| <body>
|
|
748
|
-
| <math math>
|
|
749
|
-
| <math mtext>
|
|
750
|
-
| <math malignmark>
|
|
751
|
-
|
|
752
|
-
#data
|
|
753
|
-
<math><annotation-xml><svg></svg></annotation-xml><mi>
|
|
754
|
-
#errors
|
|
755
|
-
#document
|
|
756
|
-
| <html>
|
|
757
|
-
| <head>
|
|
758
|
-
| <body>
|
|
759
|
-
| <math math>
|
|
760
|
-
| <math annotation-xml>
|
|
761
|
-
| <svg svg>
|
|
762
|
-
| <math mi>
|
|
763
|
-
|
|
764
|
-
#data
|
|
765
|
-
<math><annotation-xml><svg><foreignObject><div><math><mi></mi></math><span></span></div></foreignObject><path></path></svg></annotation-xml><mi>
|
|
766
|
-
#errors
|
|
767
|
-
#document
|
|
768
|
-
| <html>
|
|
769
|
-
| <head>
|
|
770
|
-
| <body>
|
|
771
|
-
| <math math>
|
|
772
|
-
| <math annotation-xml>
|
|
773
|
-
| <svg svg>
|
|
774
|
-
| <svg foreignObject>
|
|
775
|
-
| <div>
|
|
776
|
-
| <math math>
|
|
777
|
-
| <math mi>
|
|
778
|
-
| <span>
|
|
779
|
-
| <svg path>
|
|
780
|
-
| <math mi>
|
|
781
|
-
|
|
782
|
-
#data
|
|
783
|
-
<math><annotation-xml><svg><foreignObject><math><mi><svg></svg></mi><mo></mo></math><span></span></foreignObject><path></path></svg></annotation-xml><mi>
|
|
784
|
-
#errors
|
|
785
|
-
#document
|
|
786
|
-
| <html>
|
|
787
|
-
| <head>
|
|
788
|
-
| <body>
|
|
789
|
-
| <math math>
|
|
790
|
-
| <math annotation-xml>
|
|
791
|
-
| <svg svg>
|
|
792
|
-
| <svg foreignObject>
|
|
793
|
-
| <math math>
|
|
794
|
-
| <math mi>
|
|
795
|
-
| <svg svg>
|
|
796
|
-
| <math mo>
|
|
797
|
-
| <span>
|
|
798
|
-
| <svg path>
|
|
799
|
-
| <math mi>
|