tests15.dat 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. #data
  2. <!DOCTYPE html><p><b><i><u></p> <p>X
  3. #errors
  4. (1,31): unexpected-end-tag
  5. (1,36): expected-closing-tag-but-got-eof
  6. #document
  7. | <!DOCTYPE html>
  8. | <html>
  9. | <head>
  10. | <body>
  11. | <p>
  12. | <b>
  13. | <i>
  14. | <u>
  15. | <b>
  16. | <i>
  17. | <u>
  18. | " "
  19. | <p>
  20. | "X"
  21. #data
  22. <p><b><i><u></p>
  23. <p>X
  24. #errors
  25. (1,3): expected-doctype-but-got-start-tag
  26. (1,16): unexpected-end-tag
  27. (2,4): expected-closing-tag-but-got-eof
  28. #document
  29. | <html>
  30. | <head>
  31. | <body>
  32. | <p>
  33. | <b>
  34. | <i>
  35. | <u>
  36. | <b>
  37. | <i>
  38. | <u>
  39. | "
  40. "
  41. | <p>
  42. | "X"
  43. #data
  44. <!doctype html></html> <head>
  45. #errors
  46. (1,29): expected-eof-but-got-start-tag
  47. (1,29): unexpected-start-tag-ignored
  48. #document
  49. | <!DOCTYPE html>
  50. | <html>
  51. | <head>
  52. | <body>
  53. | " "
  54. #data
  55. <!doctype html></body><meta>
  56. #errors
  57. (1,28): unexpected-start-tag-after-body
  58. #document
  59. | <!DOCTYPE html>
  60. | <html>
  61. | <head>
  62. | <body>
  63. | <meta>
  64. #data
  65. <html></html><!-- foo -->
  66. #errors
  67. (1,6): expected-doctype-but-got-start-tag
  68. #document
  69. | <html>
  70. | <head>
  71. | <body>
  72. | <!-- foo -->
  73. #data
  74. <!doctype html></body><title>X</title>
  75. #errors
  76. (1,29): unexpected-start-tag-after-body
  77. #document
  78. | <!DOCTYPE html>
  79. | <html>
  80. | <head>
  81. | <body>
  82. | <title>
  83. | "X"
  84. #data
  85. <!doctype html><table> X<meta></table>
  86. #errors
  87. (1,23): foster-parenting-character
  88. (1,24): foster-parenting-character
  89. (1,30): foster-parenting-start-character
  90. #document
  91. | <!DOCTYPE html>
  92. | <html>
  93. | <head>
  94. | <body>
  95. | " X"
  96. | <meta>
  97. | <table>
  98. #data
  99. <!doctype html><table> x</table>
  100. #errors
  101. (1,23): foster-parenting-character
  102. (1,24): foster-parenting-character
  103. #document
  104. | <!DOCTYPE html>
  105. | <html>
  106. | <head>
  107. | <body>
  108. | " x"
  109. | <table>
  110. #data
  111. <!doctype html><table> x </table>
  112. #errors
  113. (1,23): foster-parenting-character
  114. (1,24): foster-parenting-character
  115. (1,25): foster-parenting-character
  116. #document
  117. | <!DOCTYPE html>
  118. | <html>
  119. | <head>
  120. | <body>
  121. | " x "
  122. | <table>
  123. #data
  124. <!doctype html><table><tr> x</table>
  125. #errors
  126. (1,27): foster-parenting-character
  127. (1,28): foster-parenting-character
  128. #document
  129. | <!DOCTYPE html>
  130. | <html>
  131. | <head>
  132. | <body>
  133. | " x"
  134. | <table>
  135. | <tbody>
  136. | <tr>
  137. #data
  138. <!doctype html><table>X<style> <tr>x </style> </table>
  139. #errors
  140. (1,23): foster-parenting-character
  141. #document
  142. | <!DOCTYPE html>
  143. | <html>
  144. | <head>
  145. | <body>
  146. | "X"
  147. | <table>
  148. | <style>
  149. | " <tr>x "
  150. | " "
  151. #data
  152. <!doctype html><div><table><a>foo</a> <tr><td>bar</td> </tr></table></div>
  153. #errors
  154. (1,30): foster-parenting-start-tag
  155. (1,31): foster-parenting-character
  156. (1,32): foster-parenting-character
  157. (1,33): foster-parenting-character
  158. (1,37): foster-parenting-end-tag
  159. #document
  160. | <!DOCTYPE html>
  161. | <html>
  162. | <head>
  163. | <body>
  164. | <div>
  165. | <a>
  166. | "foo"
  167. | <table>
  168. | " "
  169. | <tbody>
  170. | <tr>
  171. | <td>
  172. | "bar"
  173. | " "
  174. #data
  175. <frame></frame></frame><frameset><frame><frameset><frame></frameset><noframes></frameset><noframes>
  176. #errors
  177. (1,7): expected-doctype-but-got-start-tag
  178. (1,7): unexpected-start-tag-ignored
  179. (1,15): unexpected-end-tag
  180. (1,23): unexpected-end-tag
  181. (1,33): unexpected-start-tag
  182. (1,99): expected-named-closing-tag-but-got-eof
  183. (1,99): eof-in-frameset
  184. #document
  185. | <html>
  186. | <head>
  187. | <frameset>
  188. | <frame>
  189. | <frameset>
  190. | <frame>
  191. | <noframes>
  192. | "</frameset><noframes>"
  193. #data
  194. <!DOCTYPE html><object></html>
  195. #errors
  196. (1,30): expected-body-in-scope
  197. (1,30): expected-closing-tag-but-got-eof
  198. #document
  199. | <!DOCTYPE html>
  200. | <html>
  201. | <head>
  202. | <body>
  203. | <object>