tests3.dat 4.5 KB

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