tests3.dat 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  1. #data
  2. <head></head><style></style>
  3. #errors
  4. Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
  5. Line: 1 Col: 20 Unexpected start tag (style) that can be in head. Moved.
  6. #document
  7. | <html>
  8. | <head>
  9. | <style>
  10. | <body>
  11. #data
  12. <head></head><script></script>
  13. #errors
  14. Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
  15. Line: 1 Col: 21 Unexpected start tag (script) that can be in head. Moved.
  16. #document
  17. | <html>
  18. | <head>
  19. | <script>
  20. | <body>
  21. #data
  22. <head></head><!-- --><style></style><!-- --><script></script>
  23. #errors
  24. Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
  25. Line: 1 Col: 28 Unexpected start tag (style) that can be in head. Moved.
  26. #document
  27. | <html>
  28. | <head>
  29. | <style>
  30. | <script>
  31. | <!-- -->
  32. | <!-- -->
  33. | <body>
  34. #data
  35. <head></head><!-- -->x<style></style><!-- --><script></script>
  36. #errors
  37. Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
  38. #document
  39. | <html>
  40. | <head>
  41. | <!-- -->
  42. | <body>
  43. | "x"
  44. | <style>
  45. | <!-- -->
  46. | <script>
  47. #data
  48. <!DOCTYPE html><html><head></head><body><pre>
  49. </pre></body></html>
  50. #errors
  51. #document
  52. | <!DOCTYPE html>
  53. | <html>
  54. | <head>
  55. | <body>
  56. | <pre>
  57. #data
  58. <!DOCTYPE html><html><head></head><body><pre>
  59. foo</pre></body></html>
  60. #errors
  61. #document
  62. | <!DOCTYPE html>
  63. | <html>
  64. | <head>
  65. | <body>
  66. | <pre>
  67. | "foo"
  68. #data
  69. <!DOCTYPE html><html><head></head><body><pre>
  70. foo</pre></body></html>
  71. #errors
  72. #document
  73. | <!DOCTYPE html>
  74. | <html>
  75. | <head>
  76. | <body>
  77. | <pre>
  78. | "
  79. foo"
  80. #data
  81. <!DOCTYPE html><html><head></head><body><pre>
  82. foo
  83. </pre></body></html>
  84. #errors
  85. #document
  86. | <!DOCTYPE html>
  87. | <html>
  88. | <head>
  89. | <body>
  90. | <pre>
  91. | "foo
  92. "
  93. #data
  94. <!DOCTYPE html><html><head></head><body><pre>x</pre><span>
  95. </span></body></html>
  96. #errors
  97. #document
  98. | <!DOCTYPE html>
  99. | <html>
  100. | <head>
  101. | <body>
  102. | <pre>
  103. | "x"
  104. | <span>
  105. | "
  106. "
  107. #data
  108. <!DOCTYPE html><html><head></head><body><pre>x
  109. y</pre></body></html>
  110. #errors
  111. #document
  112. | <!DOCTYPE html>
  113. | <html>
  114. | <head>
  115. | <body>
  116. | <pre>
  117. | "x
  118. y"
  119. #data
  120. <!DOCTYPE html><html><head></head><body><pre>x<div>
  121. y</pre></body></html>
  122. #errors
  123. Line: 2 Col: 7 End tag (pre) seen too early. Expected other end tag.
  124. #document
  125. | <!DOCTYPE html>
  126. | <html>
  127. | <head>
  128. | <body>
  129. | <pre>
  130. | "x"
  131. | <div>
  132. | "
  133. y"
  134. #data
  135. <!DOCTYPE html><pre>&#x0a;&#x0a;A</pre>
  136. #errors
  137. #document
  138. | <!DOCTYPE html>
  139. | <html>
  140. | <head>
  141. | <body>
  142. | <pre>
  143. | "
  144. A"
  145. #data
  146. <!DOCTYPE html><HTML><META><HEAD></HEAD></HTML>
  147. #errors
  148. Line: 1 Col: 33 Unexpected start tag head in existing head. Ignored.
  149. #document
  150. | <!DOCTYPE html>
  151. | <html>
  152. | <head>
  153. | <meta>
  154. | <body>
  155. #data
  156. <!DOCTYPE html><HTML><HEAD><head></HEAD></HTML>
  157. #errors
  158. Line: 1 Col: 33 Unexpected start tag head in existing head. Ignored.
  159. #document
  160. | <!DOCTYPE html>
  161. | <html>
  162. | <head>
  163. | <body>
  164. #data
  165. <textarea>foo<span>bar</span><i>baz
  166. #errors
  167. Line: 1 Col: 10 Unexpected start tag (textarea). Expected DOCTYPE.
  168. Line: 1 Col: 35 Expected closing tag. Unexpected end of file.
  169. #document
  170. | <html>
  171. | <head>
  172. | <body>
  173. | <textarea>
  174. | "foo<span>bar</span><i>baz"
  175. #data
  176. <title>foo<span>bar</em><i>baz
  177. #errors
  178. Line: 1 Col: 7 Unexpected start tag (title). Expected DOCTYPE.
  179. Line: 1 Col: 30 Unexpected end of file. Expected end tag (title).
  180. #document
  181. | <html>
  182. | <head>
  183. | <title>
  184. | "foo<span>bar</em><i>baz"
  185. | <body>
  186. #data
  187. <!DOCTYPE html><textarea>
  188. </textarea>
  189. #errors
  190. #document
  191. | <!DOCTYPE html>
  192. | <html>
  193. | <head>
  194. | <body>
  195. | <textarea>
  196. #data
  197. <!DOCTYPE html><textarea>
  198. foo</textarea>
  199. #errors
  200. #document
  201. | <!DOCTYPE html>
  202. | <html>
  203. | <head>
  204. | <body>
  205. | <textarea>
  206. | "foo"
  207. #data
  208. <!DOCTYPE html><textarea>
  209. foo</textarea>
  210. #errors
  211. #document
  212. | <!DOCTYPE html>
  213. | <html>
  214. | <head>
  215. | <body>
  216. | <textarea>
  217. | "
  218. foo"
  219. #data
  220. <!DOCTYPE html><html><head></head><body><ul><li><div><p><li></ul></body></html>
  221. #errors
  222. Line: 1 Col: 60 Missing end tag (div, li).
  223. #document
  224. | <!DOCTYPE html>
  225. | <html>
  226. | <head>
  227. | <body>
  228. | <ul>
  229. | <li>
  230. | <div>
  231. | <p>
  232. | <li>
  233. #data
  234. <!doctype html><nobr><nobr><nobr>
  235. #errors
  236. Line: 1 Col: 27 Unexpected start tag (nobr) implies end tag (nobr).
  237. Line: 1 Col: 33 Unexpected start tag (nobr) implies end tag (nobr).
  238. Line: 1 Col: 33 Expected closing tag. Unexpected end of file.
  239. #document
  240. | <!DOCTYPE html>
  241. | <html>
  242. | <head>
  243. | <body>
  244. | <nobr>
  245. | <nobr>
  246. | <nobr>
  247. #data
  248. <!doctype html><nobr><nobr></nobr><nobr>
  249. #errors
  250. Line: 1 Col: 27 Unexpected start tag (nobr) implies end tag (nobr).
  251. Line: 1 Col: 40 Expected closing tag. Unexpected end of file.
  252. #document
  253. | <!DOCTYPE html>
  254. | <html>
  255. | <head>
  256. | <body>
  257. | <nobr>
  258. | <nobr>
  259. | <nobr>
  260. #data
  261. <!doctype html><html><body><p><table></table></body></html>
  262. #errors
  263. Not known
  264. #document
  265. | <!DOCTYPE html>
  266. | <html>
  267. | <head>
  268. | <body>
  269. | <p>
  270. | <table>
  271. #data
  272. <p><table></table>
  273. #errors
  274. Not known
  275. #document
  276. | <html>
  277. | <head>
  278. | <body>
  279. | <p>
  280. | <table>