tricky01.dat 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336
  1. #data
  2. <b><p>Bold </b> Not bold</p>
  3. Also not bold.
  4. #errors
  5. (1,3): expected-doctype-but-got-start-tag
  6. (1,15): adoption-agency-1.3
  7. #document
  8. | <html>
  9. | <head>
  10. | <body>
  11. | <b>
  12. | <p>
  13. | <b>
  14. | "Bold "
  15. | " Not bold"
  16. | "
  17. Also not bold."
  18. #data
  19. <html>
  20. <font color=red><i>Italic and Red<p>Italic and Red </font> Just italic.</p> Italic only.</i> Plain
  21. <p>I should not be red. <font color=red>Red. <i>Italic and red.</p>
  22. <p>Italic and red. </i> Red.</font> I should not be red.</p>
  23. <b>Bold <i>Bold and italic</b> Only Italic </i> Plain
  24. #errors
  25. (1,6): expected-doctype-but-got-start-tag
  26. (2,58): adoption-agency-1.3
  27. (3,67): unexpected-end-tag
  28. (4,23): adoption-agency-1.3
  29. (4,35): adoption-agency-1.3
  30. (5,30): adoption-agency-1.3
  31. #document
  32. | <html>
  33. | <head>
  34. | <body>
  35. | <font>
  36. | color="red"
  37. | <i>
  38. | "Italic and Red"
  39. | <i>
  40. | <p>
  41. | <font>
  42. | color="red"
  43. | "Italic and Red "
  44. | " Just italic."
  45. | " Italic only."
  46. | " Plain
  47. "
  48. | <p>
  49. | "I should not be red. "
  50. | <font>
  51. | color="red"
  52. | "Red. "
  53. | <i>
  54. | "Italic and red."
  55. | <font>
  56. | color="red"
  57. | <i>
  58. | "
  59. "
  60. | <p>
  61. | <font>
  62. | color="red"
  63. | <i>
  64. | "Italic and red. "
  65. | " Red."
  66. | " I should not be red."
  67. | "
  68. "
  69. | <b>
  70. | "Bold "
  71. | <i>
  72. | "Bold and italic"
  73. | <i>
  74. | " Only Italic "
  75. | " Plain"
  76. #data
  77. <html><body>
  78. <p><font size="7">First paragraph.</p>
  79. <p>Second paragraph.</p></font>
  80. <b><p><i>Bold and Italic</b> Italic</p>
  81. #errors
  82. (1,6): expected-doctype-but-got-start-tag
  83. (2,38): unexpected-end-tag
  84. (4,28): adoption-agency-1.3
  85. (4,28): adoption-agency-1.3
  86. (4,39): unexpected-end-tag
  87. #document
  88. | <html>
  89. | <head>
  90. | <body>
  91. | "
  92. "
  93. | <p>
  94. | <font>
  95. | size="7"
  96. | "First paragraph."
  97. | <font>
  98. | size="7"
  99. | "
  100. "
  101. | <p>
  102. | "Second paragraph."
  103. | "
  104. "
  105. | <b>
  106. | <p>
  107. | <b>
  108. | <i>
  109. | "Bold and Italic"
  110. | <i>
  111. | " Italic"
  112. #data
  113. <html>
  114. <dl>
  115. <dt><b>Boo
  116. <dd>Goo?
  117. </dl>
  118. </html>
  119. #errors
  120. (1,6): expected-doctype-but-got-start-tag
  121. (4,4): end-tag-too-early
  122. (5,5): end-tag-too-early
  123. (6,7): expected-one-end-tag-but-got-another
  124. #document
  125. | <html>
  126. | <head>
  127. | <body>
  128. | <dl>
  129. | "
  130. "
  131. | <dt>
  132. | <b>
  133. | "Boo
  134. "
  135. | <dd>
  136. | <b>
  137. | "Goo?
  138. "
  139. | <b>
  140. | "
  141. "
  142. #data
  143. <html><body>
  144. <label><a><div>Hello<div>World</div></a></label>
  145. </body></html>
  146. #errors
  147. (1,6): expected-doctype-but-got-start-tag
  148. (2,40): adoption-agency-1.3
  149. (2,48): unexpected-end-tag
  150. (3,7): expected-one-end-tag-but-got-another
  151. #document
  152. | <html>
  153. | <head>
  154. | <body>
  155. | "
  156. "
  157. | <label>
  158. | <a>
  159. | <div>
  160. | <a>
  161. | "Hello"
  162. | <div>
  163. | "World"
  164. | "
  165. "
  166. #data
  167. <table><center> <font>a</center> <img> <tr><td> </td> </tr> </table>
  168. #errors
  169. (1,7): expected-doctype-but-got-start-tag
  170. (1,15): foster-parenting-start-tag
  171. (1,16): foster-parenting-character
  172. (1,22): foster-parenting-start-tag
  173. (1,23): foster-parenting-character
  174. (1,32): foster-parenting-end-tag
  175. (1,32): end-tag-too-early
  176. (1,33): foster-parenting-character
  177. (1,38): foster-parenting-start-tag
  178. #document
  179. | <html>
  180. | <head>
  181. | <body>
  182. | <center>
  183. | " "
  184. | <font>
  185. | "a"
  186. | <font>
  187. | <img>
  188. | " "
  189. | <table>
  190. | " "
  191. | <tbody>
  192. | <tr>
  193. | <td>
  194. | " "
  195. | " "
  196. | " "
  197. #data
  198. <table><tr><p><a><p>You should see this text.
  199. #errors
  200. (1,7): expected-doctype-but-got-start-tag
  201. (1,14): unexpected-start-tag-implies-table-voodoo
  202. (1,17): unexpected-start-tag-implies-table-voodoo
  203. (1,20): unexpected-start-tag-implies-table-voodoo
  204. (1,20): closing-non-current-p-element
  205. (1,21): foster-parenting-character
  206. (1,22): foster-parenting-character
  207. (1,23): foster-parenting-character
  208. (1,24): foster-parenting-character
  209. (1,25): foster-parenting-character
  210. (1,26): foster-parenting-character
  211. (1,27): foster-parenting-character
  212. (1,28): foster-parenting-character
  213. (1,29): foster-parenting-character
  214. (1,30): foster-parenting-character
  215. (1,31): foster-parenting-character
  216. (1,32): foster-parenting-character
  217. (1,33): foster-parenting-character
  218. (1,34): foster-parenting-character
  219. (1,35): foster-parenting-character
  220. (1,36): foster-parenting-character
  221. (1,37): foster-parenting-character
  222. (1,38): foster-parenting-character
  223. (1,39): foster-parenting-character
  224. (1,40): foster-parenting-character
  225. (1,41): foster-parenting-character
  226. (1,42): foster-parenting-character
  227. (1,43): foster-parenting-character
  228. (1,44): foster-parenting-character
  229. (1,45): foster-parenting-character
  230. (1,45): eof-in-table
  231. #document
  232. | <html>
  233. | <head>
  234. | <body>
  235. | <p>
  236. | <a>
  237. | <p>
  238. | <a>
  239. | "You should see this text."
  240. | <table>
  241. | <tbody>
  242. | <tr>
  243. #data
  244. <TABLE>
  245. <TR>
  246. <CENTER><CENTER><TD></TD></TR><TR>
  247. <FONT>
  248. <TABLE><tr></tr></TABLE>
  249. </P>
  250. <a></font><font></a>
  251. This page contains an insanely badly-nested tag sequence.
  252. #errors
  253. (1,7): expected-doctype-but-got-start-tag
  254. (3,8): unexpected-start-tag-implies-table-voodoo
  255. (3,16): unexpected-start-tag-implies-table-voodoo
  256. (4,6): unexpected-start-tag-implies-table-voodoo
  257. (4,6): unexpected character token in table (the newline)
  258. (5,7): unexpected-start-tag-implies-end-tag
  259. (6,4): unexpected p end tag
  260. (7,10): adoption-agency-1.3
  261. (7,20): adoption-agency-1.3
  262. (8,57): expected-closing-tag-but-got-eof
  263. #document
  264. | <html>
  265. | <head>
  266. | <body>
  267. | <center>
  268. | <center>
  269. | <font>
  270. | "
  271. "
  272. | <table>
  273. | "
  274. "
  275. | <tbody>
  276. | <tr>
  277. | "
  278. "
  279. | <td>
  280. | <tr>
  281. | "
  282. "
  283. | <table>
  284. | <tbody>
  285. | <tr>
  286. | <font>
  287. | "
  288. "
  289. | <p>
  290. | "
  291. "
  292. | <a>
  293. | <a>
  294. | <font>
  295. | <font>
  296. | "
  297. This page contains an insanely badly-nested tag sequence."
  298. #data
  299. <html>
  300. <body>
  301. <b><nobr><div>This text is in a div inside a nobr</nobr>More text that should not be in the nobr, i.e., the
  302. nobr should have closed the div inside it implicitly. </b><pre>A pre tag outside everything else.</pre>
  303. </body>
  304. </html>
  305. #errors
  306. (1,6): expected-doctype-but-got-start-tag
  307. (3,56): adoption-agency-1.3
  308. (4,58): adoption-agency-1.3
  309. (5,7): expected-one-end-tag-but-got-another
  310. #document
  311. | <html>
  312. | <head>
  313. | <body>
  314. | "
  315. "
  316. | <b>
  317. | <nobr>
  318. | <div>
  319. | <b>
  320. | <nobr>
  321. | "This text is in a div inside a nobr"
  322. | "More text that should not be in the nobr, i.e., the
  323. nobr should have closed the div inside it implicitly. "
  324. | <pre>
  325. | "A pre tag outside everything else."
  326. | "
  327. "