tests20.dat 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516
  1. #data
  2. <!doctype html><p><button><button>
  3. #errors
  4. (1,34): unexpected-start-tag-implies-end-tag
  5. (1,34): expected-closing-tag-but-got-eof
  6. #document
  7. | <!DOCTYPE html>
  8. | <html>
  9. | <head>
  10. | <body>
  11. | <p>
  12. | <button>
  13. | <button>
  14. #data
  15. <!doctype html><p><button><address>
  16. #errors
  17. (1,35): expected-closing-tag-but-got-eof
  18. #document
  19. | <!DOCTYPE html>
  20. | <html>
  21. | <head>
  22. | <body>
  23. | <p>
  24. | <button>
  25. | <address>
  26. #data
  27. <!doctype html><p><button><blockquote>
  28. #errors
  29. (1,38): expected-closing-tag-but-got-eof
  30. #document
  31. | <!DOCTYPE html>
  32. | <html>
  33. | <head>
  34. | <body>
  35. | <p>
  36. | <button>
  37. | <blockquote>
  38. #data
  39. <!doctype html><p><button><menu>
  40. #errors
  41. (1,32): expected-closing-tag-but-got-eof
  42. #document
  43. | <!DOCTYPE html>
  44. | <html>
  45. | <head>
  46. | <body>
  47. | <p>
  48. | <button>
  49. | <menu>
  50. #data
  51. <!doctype html><p><button><p>
  52. #errors
  53. (1,29): expected-closing-tag-but-got-eof
  54. #document
  55. | <!DOCTYPE html>
  56. | <html>
  57. | <head>
  58. | <body>
  59. | <p>
  60. | <button>
  61. | <p>
  62. #data
  63. <!doctype html><p><button><ul>
  64. #errors
  65. (1,30): expected-closing-tag-but-got-eof
  66. #document
  67. | <!DOCTYPE html>
  68. | <html>
  69. | <head>
  70. | <body>
  71. | <p>
  72. | <button>
  73. | <ul>
  74. #data
  75. <!doctype html><p><button><h1>
  76. #errors
  77. (1,30): expected-closing-tag-but-got-eof
  78. #document
  79. | <!DOCTYPE html>
  80. | <html>
  81. | <head>
  82. | <body>
  83. | <p>
  84. | <button>
  85. | <h1>
  86. #data
  87. <!doctype html><p><button><h6>
  88. #errors
  89. (1,30): expected-closing-tag-but-got-eof
  90. #document
  91. | <!DOCTYPE html>
  92. | <html>
  93. | <head>
  94. | <body>
  95. | <p>
  96. | <button>
  97. | <h6>
  98. #data
  99. <!doctype html><p><button><listing>
  100. #errors
  101. (1,35): expected-closing-tag-but-got-eof
  102. #document
  103. | <!DOCTYPE html>
  104. | <html>
  105. | <head>
  106. | <body>
  107. | <p>
  108. | <button>
  109. | <listing>
  110. #data
  111. <!doctype html><p><button><pre>
  112. #errors
  113. (1,31): expected-closing-tag-but-got-eof
  114. #document
  115. | <!DOCTYPE html>
  116. | <html>
  117. | <head>
  118. | <body>
  119. | <p>
  120. | <button>
  121. | <pre>
  122. #data
  123. <!doctype html><p><button><form>
  124. #errors
  125. (1,32): expected-closing-tag-but-got-eof
  126. #document
  127. | <!DOCTYPE html>
  128. | <html>
  129. | <head>
  130. | <body>
  131. | <p>
  132. | <button>
  133. | <form>
  134. #data
  135. <!doctype html><p><button><li>
  136. #errors
  137. (1,30): expected-closing-tag-but-got-eof
  138. #document
  139. | <!DOCTYPE html>
  140. | <html>
  141. | <head>
  142. | <body>
  143. | <p>
  144. | <button>
  145. | <li>
  146. #data
  147. <!doctype html><p><button><dd>
  148. #errors
  149. (1,30): expected-closing-tag-but-got-eof
  150. #document
  151. | <!DOCTYPE html>
  152. | <html>
  153. | <head>
  154. | <body>
  155. | <p>
  156. | <button>
  157. | <dd>
  158. #data
  159. <!doctype html><p><button><dt>
  160. #errors
  161. (1,30): expected-closing-tag-but-got-eof
  162. #document
  163. | <!DOCTYPE html>
  164. | <html>
  165. | <head>
  166. | <body>
  167. | <p>
  168. | <button>
  169. | <dt>
  170. #data
  171. <!doctype html><p><button><plaintext>
  172. #errors
  173. (1,37): expected-closing-tag-but-got-eof
  174. #document
  175. | <!DOCTYPE html>
  176. | <html>
  177. | <head>
  178. | <body>
  179. | <p>
  180. | <button>
  181. | <plaintext>
  182. #data
  183. <!doctype html><p><button><table>
  184. #errors
  185. (1,33): eof-in-table
  186. #document
  187. | <!DOCTYPE html>
  188. | <html>
  189. | <head>
  190. | <body>
  191. | <p>
  192. | <button>
  193. | <table>
  194. #data
  195. <!doctype html><p><button><hr>
  196. #errors
  197. (1,30): expected-closing-tag-but-got-eof
  198. #document
  199. | <!DOCTYPE html>
  200. | <html>
  201. | <head>
  202. | <body>
  203. | <p>
  204. | <button>
  205. | <hr>
  206. #data
  207. <!doctype html><p><button><xmp>
  208. #errors
  209. (1,31): expected-named-closing-tag-but-got-eof
  210. (1,31): expected-closing-tag-but-got-eof
  211. #document
  212. | <!DOCTYPE html>
  213. | <html>
  214. | <head>
  215. | <body>
  216. | <p>
  217. | <button>
  218. | <xmp>
  219. #data
  220. <!doctype html><p><button></p>
  221. #errors
  222. (1,30): unexpected-end-tag
  223. (1,30): expected-closing-tag-but-got-eof
  224. #document
  225. | <!DOCTYPE html>
  226. | <html>
  227. | <head>
  228. | <body>
  229. | <p>
  230. | <button>
  231. | <p>
  232. #data
  233. <!doctype html><address><button></address>a
  234. #errors
  235. (1,42): end-tag-too-early
  236. #document
  237. | <!DOCTYPE html>
  238. | <html>
  239. | <head>
  240. | <body>
  241. | <address>
  242. | <button>
  243. | "a"
  244. #data
  245. <!doctype html><address><button></address>a
  246. #errors
  247. (1,42): end-tag-too-early
  248. #document
  249. | <!DOCTYPE html>
  250. | <html>
  251. | <head>
  252. | <body>
  253. | <address>
  254. | <button>
  255. | "a"
  256. #data
  257. <p><table></p>
  258. #errors
  259. (1,3): expected-doctype-but-got-start-tag
  260. (1,14): unexpected-end-tag-implies-table-voodoo
  261. (1,14): unexpected-end-tag
  262. (1,14): eof-in-table
  263. #document
  264. | <html>
  265. | <head>
  266. | <body>
  267. | <p>
  268. | <p>
  269. | <table>
  270. #data
  271. <!doctype html><svg>
  272. #errors
  273. (1,20): expected-closing-tag-but-got-eof
  274. #document
  275. | <!DOCTYPE html>
  276. | <html>
  277. | <head>
  278. | <body>
  279. | <svg svg>
  280. #data
  281. <!doctype html><p><figcaption>
  282. #errors
  283. (1,30): expected-closing-tag-but-got-eof
  284. #document
  285. | <!DOCTYPE html>
  286. | <html>
  287. | <head>
  288. | <body>
  289. | <p>
  290. | <figcaption>
  291. #data
  292. <!doctype html><p><summary>
  293. #errors
  294. (1,27): expected-closing-tag-but-got-eof
  295. #document
  296. | <!DOCTYPE html>
  297. | <html>
  298. | <head>
  299. | <body>
  300. | <p>
  301. | <summary>
  302. #data
  303. <!doctype html><form><table><form>
  304. #errors
  305. (1,34): unexpected-form-in-table
  306. (1,34): eof-in-table
  307. #document
  308. | <!DOCTYPE html>
  309. | <html>
  310. | <head>
  311. | <body>
  312. | <form>
  313. | <table>
  314. #data
  315. <!doctype html><table><form><form>
  316. #errors
  317. (1,28): unexpected-form-in-table
  318. (1,34): unexpected-form-in-table
  319. (1,34): eof-in-table
  320. #document
  321. | <!DOCTYPE html>
  322. | <html>
  323. | <head>
  324. | <body>
  325. | <table>
  326. | <form>
  327. #data
  328. <!doctype html><table><form></table><form>
  329. #errors
  330. (1,28): unexpected-form-in-table
  331. (1,42): unexpected-start-tag
  332. #document
  333. | <!DOCTYPE html>
  334. | <html>
  335. | <head>
  336. | <body>
  337. | <table>
  338. | <form>
  339. #data
  340. <!doctype html><svg><foreignObject><p>
  341. #errors
  342. (1,38): expected-closing-tag-but-got-eof
  343. #document
  344. | <!DOCTYPE html>
  345. | <html>
  346. | <head>
  347. | <body>
  348. | <svg svg>
  349. | <svg foreignObject>
  350. | <p>
  351. #data
  352. <!doctype html><svg><title>abc
  353. #errors
  354. (1,30): expected-closing-tag-but-got-eof
  355. #document
  356. | <!DOCTYPE html>
  357. | <html>
  358. | <head>
  359. | <body>
  360. | <svg svg>
  361. | <svg title>
  362. | "abc"
  363. #data
  364. <option><span><option>
  365. #errors
  366. (1,8): expected-doctype-but-got-start-tag
  367. (1,22): expected-closing-tag-but-got-eof
  368. #document
  369. | <html>
  370. | <head>
  371. | <body>
  372. | <option>
  373. | <span>
  374. | <option>
  375. #data
  376. <option><option>
  377. #errors
  378. (1,8): expected-doctype-but-got-start-tag
  379. (1,16): expected-closing-tag-but-got-eof
  380. #document
  381. | <html>
  382. | <head>
  383. | <body>
  384. | <option>
  385. | <option>
  386. #data
  387. <math><annotation-xml><div>
  388. #errors
  389. (1,6): expected-doctype-but-got-start-tag
  390. (1,27): unexpected-html-element-in-foreign-content
  391. (1,27): expected-closing-tag-but-got-eof
  392. #document
  393. | <html>
  394. | <head>
  395. | <body>
  396. | <math math>
  397. | <math annotation-xml>
  398. | <div>
  399. #data
  400. <math><annotation-xml encoding="application/svg+xml"><div>
  401. #errors
  402. (1,6): expected-doctype-but-got-start-tag
  403. (1,58): unexpected-html-element-in-foreign-content
  404. (1,58): expected-closing-tag-but-got-eof
  405. #document
  406. | <html>
  407. | <head>
  408. | <body>
  409. | <math math>
  410. | <math annotation-xml>
  411. | encoding="application/svg+xml"
  412. | <div>
  413. #data
  414. <math><annotation-xml encoding="application/xhtml+xml"><div>
  415. #errors
  416. (1,6): expected-doctype-but-got-start-tag
  417. (1,60): expected-closing-tag-but-got-eof
  418. #document
  419. | <html>
  420. | <head>
  421. | <body>
  422. | <math math>
  423. | <math annotation-xml>
  424. | encoding="application/xhtml+xml"
  425. | <div>
  426. #data
  427. <math><annotation-xml encoding="aPPlication/xhtmL+xMl"><div>
  428. #errors
  429. (1,6): expected-doctype-but-got-start-tag
  430. (1,60): expected-closing-tag-but-got-eof
  431. #document
  432. | <html>
  433. | <head>
  434. | <body>
  435. | <math math>
  436. | <math annotation-xml>
  437. | encoding="aPPlication/xhtmL+xMl"
  438. | <div>
  439. #data
  440. <math><annotation-xml encoding="text/html"><div>
  441. #errors
  442. (1,6): expected-doctype-but-got-start-tag
  443. (1,48): expected-closing-tag-but-got-eof
  444. #document
  445. | <html>
  446. | <head>
  447. | <body>
  448. | <math math>
  449. | <math annotation-xml>
  450. | encoding="text/html"
  451. | <div>
  452. #data
  453. <math><annotation-xml encoding="Text/htmL"><div>
  454. #errors
  455. (1,6): expected-doctype-but-got-start-tag
  456. (1,48): expected-closing-tag-but-got-eof
  457. #document
  458. | <html>
  459. | <head>
  460. | <body>
  461. | <math math>
  462. | <math annotation-xml>
  463. | encoding="Text/htmL"
  464. | <div>
  465. #data
  466. <math><annotation-xml encoding=" text/html "><div>
  467. #errors
  468. (1,6): expected-doctype-but-got-start-tag
  469. (1,50): unexpected-html-element-in-foreign-content
  470. (1,50): expected-closing-tag-but-got-eof
  471. #document
  472. | <html>
  473. | <head>
  474. | <body>
  475. | <math math>
  476. | <math annotation-xml>
  477. | encoding=" text/html "
  478. | <div>