OSDN Git Service

new repo
[bytom/vapor.git] / vendor / golang.org / x / net / html / testdata / webkit / tests7.dat
1 #data
2 <!doctype html><body><title>X</title>
3 #errors
4 #document
5 | <!DOCTYPE html>
6 | <html>
7 |   <head>
8 |   <body>
9 |     <title>
10 |       "X"
11
12 #data
13 <!doctype html><table><title>X</title></table>
14 #errors
15 Line: 1 Col: 29 Unexpected start tag (title) in table context caused voodoo mode.
16 Line: 1 Col: 38 Unexpected end tag (title) in table context caused voodoo mode.
17 #document
18 | <!DOCTYPE html>
19 | <html>
20 |   <head>
21 |   <body>
22 |     <title>
23 |       "X"
24 |     <table>
25
26 #data
27 <!doctype html><head></head><title>X</title>
28 #errors
29 Line: 1 Col: 35 Unexpected start tag (title) that can be in head. Moved.
30 #document
31 | <!DOCTYPE html>
32 | <html>
33 |   <head>
34 |     <title>
35 |       "X"
36 |   <body>
37
38 #data
39 <!doctype html></head><title>X</title>
40 #errors
41 Line: 1 Col: 29 Unexpected start tag (title) that can be in head. Moved.
42 #document
43 | <!DOCTYPE html>
44 | <html>
45 |   <head>
46 |     <title>
47 |       "X"
48 |   <body>
49
50 #data
51 <!doctype html><table><meta></table>
52 #errors
53 Line: 1 Col: 28 Unexpected start tag (meta) in table context caused voodoo mode.
54 #document
55 | <!DOCTYPE html>
56 | <html>
57 |   <head>
58 |   <body>
59 |     <meta>
60 |     <table>
61
62 #data
63 <!doctype html><table>X<tr><td><table> <meta></table></table>
64 #errors
65 Line: 1 Col: 23 Unexpected non-space characters in table context caused voodoo mode.
66 Line: 1 Col: 45 Unexpected start tag (meta) in table context caused voodoo mode.
67 #document
68 | <!DOCTYPE html>
69 | <html>
70 |   <head>
71 |   <body>
72 |     "X"
73 |     <table>
74 |       <tbody>
75 |         <tr>
76 |           <td>
77 |             <meta>
78 |             <table>
79 |               " "
80
81 #data
82 <!doctype html><html> <head>
83 #errors
84 #document
85 | <!DOCTYPE html>
86 | <html>
87 |   <head>
88 |   <body>
89
90 #data
91 <!doctype html> <head>
92 #errors
93 #document
94 | <!DOCTYPE html>
95 | <html>
96 |   <head>
97 |   <body>
98
99 #data
100 <!doctype html><table><style> <tr>x </style> </table>
101 #errors
102 #document
103 | <!DOCTYPE html>
104 | <html>
105 |   <head>
106 |   <body>
107 |     <table>
108 |       <style>
109 |         " <tr>x "
110 |       " "
111
112 #data
113 <!doctype html><table><TBODY><script> <tr>x </script> </table>
114 #errors
115 #document
116 | <!DOCTYPE html>
117 | <html>
118 |   <head>
119 |   <body>
120 |     <table>
121 |       <tbody>
122 |         <script>
123 |           " <tr>x "
124 |         " "
125
126 #data
127 <!doctype html><p><applet><p>X</p></applet>
128 #errors
129 #document
130 | <!DOCTYPE html>
131 | <html>
132 |   <head>
133 |   <body>
134 |     <p>
135 |       <applet>
136 |         <p>
137 |           "X"
138
139 #data
140 <!doctype html><listing>
141 X</listing>
142 #errors
143 #document
144 | <!DOCTYPE html>
145 | <html>
146 |   <head>
147 |   <body>
148 |     <listing>
149 |       "X"
150
151 #data
152 <!doctype html><select><input>X
153 #errors
154 Line: 1 Col: 30 Unexpected input start tag in the select phase.
155 #document
156 | <!DOCTYPE html>
157 | <html>
158 |   <head>
159 |   <body>
160 |     <select>
161 |     <input>
162 |     "X"
163
164 #data
165 <!doctype html><select><select>X
166 #errors
167 Line: 1 Col: 31 Unexpected select start tag in the select phase treated as select end tag.
168 #document
169 | <!DOCTYPE html>
170 | <html>
171 |   <head>
172 |   <body>
173 |     <select>
174 |     "X"
175
176 #data
177 <!doctype html><table><input type=hidDEN></table>
178 #errors
179 Line: 1 Col: 41 Unexpected input with type hidden in table context.
180 #document
181 | <!DOCTYPE html>
182 | <html>
183 |   <head>
184 |   <body>
185 |     <table>
186 |       <input>
187 |         type="hidDEN"
188
189 #data
190 <!doctype html><table>X<input type=hidDEN></table>
191 #errors
192 Line: 1 Col: 23 Unexpected non-space characters in table context caused voodoo mode.
193 #document
194 | <!DOCTYPE html>
195 | <html>
196 |   <head>
197 |   <body>
198 |     "X"
199 |     <table>
200 |       <input>
201 |         type="hidDEN"
202
203 #data
204 <!doctype html><table>  <input type=hidDEN></table>
205 #errors
206 Line: 1 Col: 43 Unexpected input with type hidden in table context.
207 #document
208 | <!DOCTYPE html>
209 | <html>
210 |   <head>
211 |   <body>
212 |     <table>
213 |       "  "
214 |       <input>
215 |         type="hidDEN"
216
217 #data
218 <!doctype html><table>  <input type='hidDEN'></table>
219 #errors
220 Line: 1 Col: 45 Unexpected input with type hidden in table context.
221 #document
222 | <!DOCTYPE html>
223 | <html>
224 |   <head>
225 |   <body>
226 |     <table>
227 |       "  "
228 |       <input>
229 |         type="hidDEN"
230
231 #data
232 <!doctype html><table><input type=" hidden"><input type=hidDEN></table>
233 #errors
234 Line: 1 Col: 44 Unexpected start tag (input) in table context caused voodoo mode.
235 #document
236 | <!DOCTYPE html>
237 | <html>
238 |   <head>
239 |   <body>
240 |     <input>
241 |       type=" hidden"
242 |     <table>
243 |       <input>
244 |         type="hidDEN"
245
246 #data
247 <!doctype html><table><select>X<tr>
248 #errors
249 Line: 1 Col: 30 Unexpected start tag (select) in table context caused voodoo mode.
250 Line: 1 Col: 35 Unexpected table element start tag (trs) in the select in table phase.
251 Line: 1 Col: 35 Unexpected end of file. Expected table content.
252 #document
253 | <!DOCTYPE html>
254 | <html>
255 |   <head>
256 |   <body>
257 |     <select>
258 |       "X"
259 |     <table>
260 |       <tbody>
261 |         <tr>
262
263 #data
264 <!doctype html><select>X</select>
265 #errors
266 #document
267 | <!DOCTYPE html>
268 | <html>
269 |   <head>
270 |   <body>
271 |     <select>
272 |       "X"
273
274 #data
275 <!DOCTYPE hTmL><html></html>
276 #errors
277 Line: 1 Col: 28 Unexpected end tag (html) after the (implied) root element.
278 #document
279 | <!DOCTYPE html>
280 | <html>
281 |   <head>
282 |   <body>
283
284 #data
285 <!DOCTYPE HTML><html></html>
286 #errors
287 Line: 1 Col: 28 Unexpected end tag (html) after the (implied) root element.
288 #document
289 | <!DOCTYPE html>
290 | <html>
291 |   <head>
292 |   <body>
293
294 #data
295 <body>X</body></body>
296 #errors
297 Line: 1 Col: 21 Unexpected end tag token (body) in the after body phase.
298 Line: 1 Col: 21 Unexpected EOF in inner html mode.
299 #document-fragment
300 html
301 #document
302 | <head>
303 | <body>
304 |   "X"
305
306 #data
307 <div><p>a</x> b
308 #errors
309 Line: 1 Col: 5 Unexpected start tag (div). Expected DOCTYPE.
310 Line: 1 Col: 13 Unexpected end tag (x). Ignored.
311 Line: 1 Col: 15 Expected closing tag. Unexpected end of file.
312 #document
313 | <html>
314 |   <head>
315 |   <body>
316 |     <div>
317 |       <p>
318 |         "a b"
319
320 #data
321 <table><tr><td><code></code> </table>
322 #errors
323 Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
324 #document
325 | <html>
326 |   <head>
327 |   <body>
328 |     <table>
329 |       <tbody>
330 |         <tr>
331 |           <td>
332 |             <code>
333 |             " "
334
335 #data
336 <table><b><tr><td>aaa</td></tr>bbb</table>ccc
337 #errors
338 XXX: Fix me
339 #document
340 | <html>
341 |   <head>
342 |   <body>
343 |     <b>
344 |     <b>
345 |       "bbb"
346 |     <table>
347 |       <tbody>
348 |         <tr>
349 |           <td>
350 |             "aaa"
351 |     <b>
352 |       "ccc"
353
354 #data
355 A<table><tr> B</tr> B</table>
356 #errors
357 XXX: Fix me
358 #document
359 | <html>
360 |   <head>
361 |   <body>
362 |     "A B B"
363 |     <table>
364 |       <tbody>
365 |         <tr>
366
367 #data
368 A<table><tr> B</tr> </em>C</table>
369 #errors
370 XXX: Fix me
371 #document
372 | <html>
373 |   <head>
374 |   <body>
375 |     "A BC"
376 |     <table>
377 |       <tbody>
378 |         <tr>
379 |         " "
380
381 #data
382 <select><keygen>
383 #errors
384 Not known
385 #document
386 | <html>
387 |   <head>
388 |   <body>
389 |     <select>
390 |     <keygen>