tests5.dat 3.1 KB

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