tests7.dat 6.5 KB

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