tests6.dat 11 KB

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