tests6.dat 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663
  1. #data
  2. <!doctype html></head> <head>
  3. #errors
  4. Line: 1 Col: 29 Unexpected start tag head. Ignored.
  5. #document
  6. | <!DOCTYPE html>
  7. | <html>
  8. | <head>
  9. | " "
  10. | <body>
  11. #data
  12. <!doctype html><form><div></form><div>
  13. #errors
  14. 33: End tag "form" seen but there were unclosed elements.
  15. 38: End of file seen and there were open elements.
  16. #document
  17. | <!DOCTYPE html>
  18. | <html>
  19. | <head>
  20. | <body>
  21. | <form>
  22. | <div>
  23. | <div>
  24. #data
  25. <!doctype html><title>&amp;</title>
  26. #errors
  27. #document
  28. | <!DOCTYPE html>
  29. | <html>
  30. | <head>
  31. | <title>
  32. | "&"
  33. | <body>
  34. #data
  35. <!doctype html><title><!--&amp;--></title>
  36. #errors
  37. #document
  38. | <!DOCTYPE html>
  39. | <html>
  40. | <head>
  41. | <title>
  42. | "<!--&-->"
  43. | <body>
  44. #data
  45. <!doctype>
  46. #errors
  47. Line: 1 Col: 9 No space after literal string 'DOCTYPE'.
  48. Line: 1 Col: 10 Unexpected > character. Expected DOCTYPE name.
  49. Line: 1 Col: 10 Erroneous DOCTYPE.
  50. #document
  51. | <!DOCTYPE >
  52. | <html>
  53. | <head>
  54. | <body>
  55. #data
  56. <!---x
  57. #errors
  58. Line: 1 Col: 6 Unexpected end of file in comment.
  59. Line: 1 Col: 6 Unexpected End of file. Expected DOCTYPE.
  60. #document
  61. | <!-- -x -->
  62. | <html>
  63. | <head>
  64. | <body>
  65. #data
  66. <body>
  67. <div>
  68. #errors
  69. Line: 1 Col: 6 Unexpected start tag (body).
  70. Line: 2 Col: 5 Expected closing tag. Unexpected end of file.
  71. #document-fragment
  72. div
  73. #document
  74. | "
  75. "
  76. | <div>
  77. #data
  78. <frameset></frameset>
  79. foo
  80. #errors
  81. Line: 1 Col: 10 Unexpected start tag (frameset). Expected DOCTYPE.
  82. Line: 2 Col: 3 Unexpected non-space characters in the after frameset phase. Ignored.
  83. #document
  84. | <html>
  85. | <head>
  86. | <frameset>
  87. | "
  88. "
  89. #data
  90. <frameset></frameset>
  91. <noframes>
  92. #errors
  93. Line: 1 Col: 10 Unexpected start tag (frameset). Expected DOCTYPE.
  94. Line: 2 Col: 10 Expected closing tag. Unexpected end of file.
  95. #document
  96. | <html>
  97. | <head>
  98. | <frameset>
  99. | "
  100. "
  101. | <noframes>
  102. #data
  103. <frameset></frameset>
  104. <div>
  105. #errors
  106. Line: 1 Col: 10 Unexpected start tag (frameset). Expected DOCTYPE.
  107. Line: 2 Col: 5 Unexpected start tag (div) in the after frameset phase. Ignored.
  108. #document
  109. | <html>
  110. | <head>
  111. | <frameset>
  112. | "
  113. "
  114. #data
  115. <frameset></frameset>
  116. </html>
  117. #errors
  118. Line: 1 Col: 10 Unexpected start tag (frameset). Expected DOCTYPE.
  119. #document
  120. | <html>
  121. | <head>
  122. | <frameset>
  123. | "
  124. "
  125. #data
  126. <frameset></frameset>
  127. </div>
  128. #errors
  129. Line: 1 Col: 10 Unexpected start tag (frameset). Expected DOCTYPE.
  130. Line: 2 Col: 6 Unexpected end tag (div) in the after frameset phase. Ignored.
  131. #document
  132. | <html>
  133. | <head>
  134. | <frameset>
  135. | "
  136. "
  137. #data
  138. <form><form>
  139. #errors
  140. Line: 1 Col: 6 Unexpected start tag (form). Expected DOCTYPE.
  141. Line: 1 Col: 12 Unexpected start tag (form).
  142. Line: 1 Col: 12 Expected closing tag. Unexpected end of file.
  143. #document
  144. | <html>
  145. | <head>
  146. | <body>
  147. | <form>
  148. #data
  149. <button><button>
  150. #errors
  151. Line: 1 Col: 8 Unexpected start tag (button). Expected DOCTYPE.
  152. Line: 1 Col: 16 Unexpected start tag (button) implies end tag (button).
  153. Line: 1 Col: 16 Expected closing tag. Unexpected end of file.
  154. #document
  155. | <html>
  156. | <head>
  157. | <body>
  158. | <button>
  159. | <button>
  160. #data
  161. <table><tr><td></th>
  162. #errors
  163. Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
  164. Line: 1 Col: 20 Unexpected end tag (th). Ignored.
  165. Line: 1 Col: 20 Expected closing tag. Unexpected end of file.
  166. #document
  167. | <html>
  168. | <head>
  169. | <body>
  170. | <table>
  171. | <tbody>
  172. | <tr>
  173. | <td>
  174. #data
  175. <table><caption><td>
  176. #errors
  177. Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
  178. Line: 1 Col: 20 Unexpected end tag (td). Ignored.
  179. Line: 1 Col: 20 Unexpected table cell start tag (td) in the table body phase.
  180. Line: 1 Col: 20 Expected closing tag. Unexpected end of file.
  181. #document
  182. | <html>
  183. | <head>
  184. | <body>
  185. | <table>
  186. | <caption>
  187. | <tbody>
  188. | <tr>
  189. | <td>
  190. #data
  191. <table><caption><div>
  192. #errors
  193. Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
  194. Line: 1 Col: 21 Expected closing tag. Unexpected end of file.
  195. #document
  196. | <html>
  197. | <head>
  198. | <body>
  199. | <table>
  200. | <caption>
  201. | <div>
  202. #data
  203. </caption><div>
  204. #errors
  205. Line: 1 Col: 10 Unexpected end tag (caption). Ignored.
  206. Line: 1 Col: 15 Expected closing tag. Unexpected end of file.
  207. #document-fragment
  208. caption
  209. #document
  210. | <div>
  211. #data
  212. <table><caption><div></caption>
  213. #errors
  214. Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
  215. Line: 1 Col: 31 Unexpected end tag (caption). Missing end tag (div).
  216. Line: 1 Col: 31 Unexpected end of file. Expected table content.
  217. #document
  218. | <html>
  219. | <head>
  220. | <body>
  221. | <table>
  222. | <caption>
  223. | <div>
  224. #data
  225. <table><caption></table>
  226. #errors
  227. Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
  228. Line: 1 Col: 24 Unexpected end table tag in caption. Generates implied end caption.
  229. #document
  230. | <html>
  231. | <head>
  232. | <body>
  233. | <table>
  234. | <caption>
  235. #data
  236. </table><div>
  237. #errors
  238. Line: 1 Col: 8 Unexpected end table tag in caption. Generates implied end caption.
  239. Line: 1 Col: 8 Unexpected end tag (caption). Ignored.
  240. Line: 1 Col: 13 Expected closing tag. Unexpected end of file.
  241. #document-fragment
  242. caption
  243. #document
  244. | <div>
  245. #data
  246. <table><caption></body></col></colgroup></html></tbody></td></tfoot></th></thead></tr>
  247. #errors
  248. Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
  249. Line: 1 Col: 23 Unexpected end tag (body). Ignored.
  250. Line: 1 Col: 29 Unexpected end tag (col). Ignored.
  251. Line: 1 Col: 40 Unexpected end tag (colgroup). Ignored.
  252. Line: 1 Col: 47 Unexpected end tag (html). Ignored.
  253. Line: 1 Col: 55 Unexpected end tag (tbody). Ignored.
  254. Line: 1 Col: 60 Unexpected end tag (td). Ignored.
  255. Line: 1 Col: 68 Unexpected end tag (tfoot). Ignored.
  256. Line: 1 Col: 73 Unexpected end tag (th). Ignored.
  257. Line: 1 Col: 81 Unexpected end tag (thead). Ignored.
  258. Line: 1 Col: 86 Unexpected end tag (tr). Ignored.
  259. Line: 1 Col: 86 Expected closing tag. Unexpected end of file.
  260. #document
  261. | <html>
  262. | <head>
  263. | <body>
  264. | <table>
  265. | <caption>
  266. #data
  267. <table><caption><div></div>
  268. #errors
  269. Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
  270. Line: 1 Col: 27 Expected closing tag. Unexpected end of file.
  271. #document
  272. | <html>
  273. | <head>
  274. | <body>
  275. | <table>
  276. | <caption>
  277. | <div>
  278. #data
  279. <table><tr><td></body></caption></col></colgroup></html>
  280. #errors
  281. Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
  282. Line: 1 Col: 22 Unexpected end tag (body). Ignored.
  283. Line: 1 Col: 32 Unexpected end tag (caption). Ignored.
  284. Line: 1 Col: 38 Unexpected end tag (col). Ignored.
  285. Line: 1 Col: 49 Unexpected end tag (colgroup). Ignored.
  286. Line: 1 Col: 56 Unexpected end tag (html). Ignored.
  287. Line: 1 Col: 56 Expected closing tag. Unexpected end of file.
  288. #document
  289. | <html>
  290. | <head>
  291. | <body>
  292. | <table>
  293. | <tbody>
  294. | <tr>
  295. | <td>
  296. #data
  297. </table></tbody></tfoot></thead></tr><div>
  298. #errors
  299. Line: 1 Col: 8 Unexpected end tag (table). Ignored.
  300. Line: 1 Col: 16 Unexpected end tag (tbody). Ignored.
  301. Line: 1 Col: 24 Unexpected end tag (tfoot). Ignored.
  302. Line: 1 Col: 32 Unexpected end tag (thead). Ignored.
  303. Line: 1 Col: 37 Unexpected end tag (tr). Ignored.
  304. Line: 1 Col: 42 Expected closing tag. Unexpected end of file.
  305. #document-fragment
  306. td
  307. #document
  308. | <div>
  309. #data
  310. <table><colgroup>foo
  311. #errors
  312. Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
  313. Line: 1 Col: 20 Unexpected non-space characters in table context caused voodoo mode.
  314. Line: 1 Col: 20 Unexpected end of file. Expected table content.
  315. #document
  316. | <html>
  317. | <head>
  318. | <body>
  319. | "foo"
  320. | <table>
  321. | <colgroup>
  322. #data
  323. foo<col>
  324. #errors
  325. Line: 1 Col: 3 Unexpected end tag (colgroup). Ignored.
  326. #document-fragment
  327. colgroup
  328. #document
  329. | <col>
  330. #data
  331. <table><colgroup></col>
  332. #errors
  333. Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
  334. Line: 1 Col: 23 This element (col) has no end tag.
  335. Line: 1 Col: 23 Expected closing tag. Unexpected end of file.
  336. #document
  337. | <html>
  338. | <head>
  339. | <body>
  340. | <table>
  341. | <colgroup>
  342. #data
  343. <frameset><div>
  344. #errors
  345. Line: 1 Col: 10 Unexpected start tag (frameset). Expected DOCTYPE.
  346. Line: 1 Col: 15 Unexpected start tag token (div) in the frameset phase. Ignored.
  347. Line: 1 Col: 15 Expected closing tag. Unexpected end of file.
  348. #document
  349. | <html>
  350. | <head>
  351. | <frameset>
  352. #data
  353. </frameset><frame>
  354. #errors
  355. Line: 1 Col: 11 Unexpected end tag token (frameset) in the frameset phase (innerHTML).
  356. #document-fragment
  357. frameset
  358. #document
  359. | <frame>
  360. #data
  361. <frameset></div>
  362. #errors
  363. Line: 1 Col: 10 Unexpected start tag (frameset). Expected DOCTYPE.
  364. Line: 1 Col: 16 Unexpected end tag token (div) in the frameset phase. Ignored.
  365. Line: 1 Col: 16 Expected closing tag. Unexpected end of file.
  366. #document
  367. | <html>
  368. | <head>
  369. | <frameset>
  370. #data
  371. </body><div>
  372. #errors
  373. Line: 1 Col: 7 Unexpected end tag (body). Ignored.
  374. Line: 1 Col: 12 Expected closing tag. Unexpected end of file.
  375. #document-fragment
  376. body
  377. #document
  378. | <div>
  379. #data
  380. <table><tr><div>
  381. #errors
  382. Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
  383. Line: 1 Col: 16 Unexpected start tag (div) in table context caused voodoo mode.
  384. Line: 1 Col: 16 Unexpected end of file. Expected table content.
  385. #document
  386. | <html>
  387. | <head>
  388. | <body>
  389. | <div>
  390. | <table>
  391. | <tbody>
  392. | <tr>
  393. #data
  394. </tr><td>
  395. #errors
  396. Line: 1 Col: 5 Unexpected end tag (tr). Ignored.
  397. #document-fragment
  398. tr
  399. #document
  400. | <td>
  401. #data
  402. </tbody></tfoot></thead><td>
  403. #errors
  404. Line: 1 Col: 8 Unexpected end tag (tbody). Ignored.
  405. Line: 1 Col: 16 Unexpected end tag (tfoot). Ignored.
  406. Line: 1 Col: 24 Unexpected end tag (thead). Ignored.
  407. #document-fragment
  408. tr
  409. #document
  410. | <td>
  411. #data
  412. <table><tr><div><td>
  413. #errors
  414. Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
  415. Line: 1 Col: 16 Unexpected start tag (div) in table context caused voodoo mode.
  416. Line: 1 Col: 20 Unexpected implied end tag (div) in the table row phase.
  417. Line: 1 Col: 20 Expected closing tag. Unexpected end of file.
  418. #document
  419. | <html>
  420. | <head>
  421. | <body>
  422. | <div>
  423. | <table>
  424. | <tbody>
  425. | <tr>
  426. | <td>
  427. #data
  428. <caption><col><colgroup><tbody><tfoot><thead><tr>
  429. #errors
  430. Line: 1 Col: 9 Unexpected start tag (caption).
  431. Line: 1 Col: 14 Unexpected start tag (col).
  432. Line: 1 Col: 24 Unexpected start tag (colgroup).
  433. Line: 1 Col: 31 Unexpected start tag (tbody).
  434. Line: 1 Col: 38 Unexpected start tag (tfoot).
  435. Line: 1 Col: 45 Unexpected start tag (thead).
  436. Line: 1 Col: 49 Unexpected end of file. Expected table content.
  437. #document-fragment
  438. tbody
  439. #document
  440. | <tr>
  441. #data
  442. <table><tbody></thead>
  443. #errors
  444. Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
  445. Line: 1 Col: 22 Unexpected end tag (thead) in the table body phase. Ignored.
  446. Line: 1 Col: 22 Unexpected end of file. Expected table content.
  447. #document
  448. | <html>
  449. | <head>
  450. | <body>
  451. | <table>
  452. | <tbody>
  453. #data
  454. </table><tr>
  455. #errors
  456. Line: 1 Col: 8 Unexpected end tag (table). Ignored.
  457. Line: 1 Col: 12 Unexpected end of file. Expected table content.
  458. #document-fragment
  459. tbody
  460. #document
  461. | <tr>
  462. #data
  463. <table><tbody></body></caption></col></colgroup></html></td></th></tr>
  464. #errors
  465. Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
  466. Line: 1 Col: 21 Unexpected end tag (body) in the table body phase. Ignored.
  467. Line: 1 Col: 31 Unexpected end tag (caption) in the table body phase. Ignored.
  468. Line: 1 Col: 37 Unexpected end tag (col) in the table body phase. Ignored.
  469. Line: 1 Col: 48 Unexpected end tag (colgroup) in the table body phase. Ignored.
  470. Line: 1 Col: 55 Unexpected end tag (html) in the table body phase. Ignored.
  471. Line: 1 Col: 60 Unexpected end tag (td) in the table body phase. Ignored.
  472. Line: 1 Col: 65 Unexpected end tag (th) in the table body phase. Ignored.
  473. Line: 1 Col: 70 Unexpected end tag (tr) in the table body phase. Ignored.
  474. Line: 1 Col: 70 Unexpected end of file. Expected table content.
  475. #document
  476. | <html>
  477. | <head>
  478. | <body>
  479. | <table>
  480. | <tbody>
  481. #data
  482. <table><tbody></div>
  483. #errors
  484. Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
  485. Line: 1 Col: 20 Unexpected end tag (div) in table context caused voodoo mode.
  486. Line: 1 Col: 20 End tag (div) seen too early. Expected other end tag.
  487. Line: 1 Col: 20 Unexpected end of file. Expected table content.
  488. #document
  489. | <html>
  490. | <head>
  491. | <body>
  492. | <table>
  493. | <tbody>
  494. #data
  495. <table><table>
  496. #errors
  497. Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
  498. Line: 1 Col: 14 Unexpected start tag (table) implies end tag (table).
  499. Line: 1 Col: 14 Unexpected end of file. Expected table content.
  500. #document
  501. | <html>
  502. | <head>
  503. | <body>
  504. | <table>
  505. | <table>
  506. #data
  507. <table></body></caption></col></colgroup></html></tbody></td></tfoot></th></thead></tr>
  508. #errors
  509. Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
  510. Line: 1 Col: 14 Unexpected end tag (body). Ignored.
  511. Line: 1 Col: 24 Unexpected end tag (caption). Ignored.
  512. Line: 1 Col: 30 Unexpected end tag (col). Ignored.
  513. Line: 1 Col: 41 Unexpected end tag (colgroup). Ignored.
  514. Line: 1 Col: 48 Unexpected end tag (html). Ignored.
  515. Line: 1 Col: 56 Unexpected end tag (tbody). Ignored.
  516. Line: 1 Col: 61 Unexpected end tag (td). Ignored.
  517. Line: 1 Col: 69 Unexpected end tag (tfoot). Ignored.
  518. Line: 1 Col: 74 Unexpected end tag (th). Ignored.
  519. Line: 1 Col: 82 Unexpected end tag (thead). Ignored.
  520. Line: 1 Col: 87 Unexpected end tag (tr). Ignored.
  521. Line: 1 Col: 87 Unexpected end of file. Expected table content.
  522. #document
  523. | <html>
  524. | <head>
  525. | <body>
  526. | <table>
  527. #data
  528. </table><tr>
  529. #errors
  530. Line: 1 Col: 8 Unexpected end tag (table). Ignored.
  531. Line: 1 Col: 12 Unexpected end of file. Expected table content.
  532. #document-fragment
  533. table
  534. #document
  535. | <tbody>
  536. | <tr>
  537. #data
  538. <body></body></html>
  539. #errors
  540. Line: 1 Col: 20 Unexpected html end tag in inner html mode.
  541. Line: 1 Col: 20 Unexpected EOF in inner html mode.
  542. #document-fragment
  543. html
  544. #document
  545. | <head>
  546. | <body>
  547. #data
  548. <html><frameset></frameset></html>
  549. #errors
  550. Line: 1 Col: 6 Unexpected start tag (html). Expected DOCTYPE.
  551. #document
  552. | <html>
  553. | <head>
  554. | <frameset>
  555. | " "
  556. #data
  557. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"><html></html>
  558. #errors
  559. Line: 1 Col: 50 Erroneous DOCTYPE.
  560. Line: 1 Col: 63 Unexpected end tag (html) after the (implied) root element.
  561. #document
  562. | <!DOCTYPE html "-//W3C//DTD HTML 4.01//EN" "">
  563. | <html>
  564. | <head>
  565. | <body>
  566. #data
  567. <param><frameset></frameset>
  568. #errors
  569. Line: 1 Col: 7 Unexpected start tag (param). Expected DOCTYPE.
  570. Line: 1 Col: 17 Unexpected start tag (frameset).
  571. #document
  572. | <html>
  573. | <head>
  574. | <frameset>
  575. #data
  576. <source><frameset></frameset>
  577. #errors
  578. Line: 1 Col: 7 Unexpected start tag (source). Expected DOCTYPE.
  579. Line: 1 Col: 17 Unexpected start tag (frameset).
  580. #document
  581. | <html>
  582. | <head>
  583. | <frameset>
  584. #data
  585. <track><frameset></frameset>
  586. #errors
  587. Line: 1 Col: 7 Unexpected start tag (track). Expected DOCTYPE.
  588. Line: 1 Col: 17 Unexpected start tag (frameset).
  589. #document
  590. | <html>
  591. | <head>
  592. | <frameset>
  593. #data
  594. </html><frameset></frameset>
  595. #errors
  596. 7: End tag seen without seeing a doctype first. Expected “<!DOCTYPE html>”.
  597. 17: Stray “frameset” start tag.
  598. 17: “frameset” start tag seen.
  599. #document
  600. | <html>
  601. | <head>
  602. | <frameset>
  603. #data
  604. </body><frameset></frameset>
  605. #errors
  606. 7: End tag seen without seeing a doctype first. Expected “<!DOCTYPE html>”.
  607. 17: Stray “frameset” start tag.
  608. 17: “frameset” start tag seen.
  609. #document
  610. | <html>
  611. | <head>
  612. | <frameset>