domjs-unsafe.dat 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588
  1. #data
  2. <svg><![CDATA[foo
  3. bar]]>
  4. #errors
  5. (1,5): expected-doctype-but-got-start-tag
  6. (2,6): expected-closing-tag-but-got-eof
  7. #document
  8. | <html>
  9. | <head>
  10. | <body>
  11. | <svg svg>
  12. | "foo
  13. bar"
  14. #data
  15. <svg><![CDATA[foo bar]]>
  16. #errors
  17. (1,5): expected-doctype-but-got-start-tag
  18. (2,6): expected-closing-tag-but-got-eof
  19. #document
  20. | <html>
  21. | <head>
  22. | <body>
  23. | <svg svg>
  24. | "foo
  25. bar"
  26. #data
  27. <svg><![CDATA[foo
  28. bar]]>
  29. #errors
  30. (1,5): expected-doctype-but-got-start-tag
  31. (2,6): expected-closing-tag-but-got-eof
  32. #document
  33. | <html>
  34. | <head>
  35. | <body>
  36. | <svg svg>
  37. | "foo
  38. bar"
  39. #data
  40. <script>a='�'</script>
  41. #errors
  42. (1,8): expected-doctype-but-got-start-tag
  43. (1,12): invalid-codepoint
  44. #document
  45. | <html>
  46. | <head>
  47. | <script>
  48. | "a='�'"
  49. | <body>
  50. #data
  51. <script type="data"><!--�</script>
  52. #errors
  53. (1,20): expected-doctype-but-got-start-tag
  54. (1,25): invalid-codepoint
  55. #document
  56. | <html>
  57. | <head>
  58. | <script>
  59. | type="data"
  60. | "<!--�"
  61. | <body>
  62. #data
  63. <script type="data"><!--foo�</script>
  64. #errors
  65. (1,20): expected-doctype-but-got-start-tag
  66. (1,28): invalid-codepoint
  67. #document
  68. | <html>
  69. | <head>
  70. | <script>
  71. | type="data"
  72. | "<!--foo�"
  73. | <body>
  74. #data
  75. <script type="data"><!-- foo-�</script>
  76. #errors
  77. (1,20): expected-doctype-but-got-start-tag
  78. (1,30): invalid-codepoint
  79. #document
  80. | <html>
  81. | <head>
  82. | <script>
  83. | type="data"
  84. | "<!-- foo-�"
  85. | <body>
  86. #data
  87. <script type="data"><!-- foo--�</script>
  88. #errors
  89. (1,20): expected-doctype-but-got-start-tag
  90. (1,31): invalid-codepoint
  91. #document
  92. | <html>
  93. | <head>
  94. | <script>
  95. | type="data"
  96. | "<!-- foo--�"
  97. | <body>
  98. #data
  99. <script type="data"><!-- foo-
  100. #errors
  101. (1,20): expected-doctype-but-got-start-tag
  102. (1,29): expected-script-data-but-got-eof
  103. (1,29): expected-named-closing-tag-but-got-eof
  104. #document
  105. | <html>
  106. | <head>
  107. | <script>
  108. | type="data"
  109. | "<!-- foo-"
  110. | <body>
  111. #data
  112. <script type="data"><!-- foo-<</script>
  113. #errors
  114. (1,20): expected-doctype-but-got-start-tag
  115. #document
  116. | <html>
  117. | <head>
  118. | <script>
  119. | type="data"
  120. | "<!-- foo-<"
  121. | <body>
  122. #data
  123. <script type="data"><!-- foo-<S
  124. #errors
  125. (1,20): expected-doctype-but-got-start-tag
  126. (1,31): expected-script-data-but-got-eof
  127. (1,31): expected-named-closing-tag-but-got-eof
  128. #document
  129. | <html>
  130. | <head>
  131. | <script>
  132. | type="data"
  133. | "<!-- foo-<S"
  134. | <body>
  135. #data
  136. <script type="data"><!-- foo-</SCRIPT>
  137. #errors
  138. (1,20): expected-doctype-but-got-start-tag
  139. #document
  140. | <html>
  141. | <head>
  142. | <script>
  143. | type="data"
  144. | "<!-- foo-"
  145. | <body>
  146. #data
  147. <script type="data"><!--<p></script>
  148. #errors
  149. (1,20): expected-doctype-but-got-start-tag
  150. #document
  151. | <html>
  152. | <head>
  153. | <script>
  154. | type="data"
  155. | "<!--<p>"
  156. | <body>
  157. #data
  158. <script type="data"><!--<script></script></script>
  159. #errors
  160. (1,20): expected-doctype-but-got-start-tag
  161. #document
  162. | <html>
  163. | <head>
  164. | <script>
  165. | type="data"
  166. | "<!--<script></script>"
  167. | <body>
  168. #data
  169. <script type="data"><!--<script>�</script></script>
  170. #errors
  171. (1,20): expected-doctype-but-got-start-tag
  172. (1,33): invalid-codepoint
  173. #document
  174. | <html>
  175. | <head>
  176. | <script>
  177. | type="data"
  178. | "<!--<script>�</script>"
  179. | <body>
  180. #data
  181. <script type="data"><!--<script>-�</script></script>
  182. #errors
  183. (1,20): expected-doctype-but-got-start-tag
  184. (1,34): invalid-codepoint
  185. #document
  186. | <html>
  187. | <head>
  188. | <script>
  189. | type="data"
  190. | "<!--<script>-�</script>"
  191. | <body>
  192. #data
  193. <script type="data"><!--<script>--�</script></script>
  194. #errors
  195. (1,20): expected-doctype-but-got-start-tag
  196. (1,35): invalid-codepoint
  197. #document
  198. | <html>
  199. | <head>
  200. | <script>
  201. | type="data"
  202. | "<!--<script>--�</script>"
  203. | <body>
  204. #data
  205. <script type="data"><!--<script>---</script></script>
  206. #errors
  207. (1,20): expected-doctype-but-got-start-tag
  208. #document
  209. | <html>
  210. | <head>
  211. | <script>
  212. | type="data"
  213. | "<!--<script>---</script>"
  214. | <body>
  215. #data
  216. <script type="data"><!--<script></scrip></SCRIPT></script>
  217. #errors
  218. (1,20): expected-doctype-but-got-start-tag
  219. #document
  220. | <html>
  221. | <head>
  222. | <script>
  223. | type="data"
  224. | "<!--<script></scrip></SCRIPT>"
  225. | <body>
  226. #data
  227. <script type="data"><!--<script></scrip </SCRIPT></script>
  228. #errors
  229. (1,20): expected-doctype-but-got-start-tag
  230. #document
  231. | <html>
  232. | <head>
  233. | <script>
  234. | type="data"
  235. | "<!--<script></scrip </SCRIPT>"
  236. | <body>
  237. #data
  238. <script type="data"><!--<script></scrip/</SCRIPT></script>
  239. #errors
  240. (1,20): expected-doctype-but-got-start-tag
  241. #document
  242. | <html>
  243. | <head>
  244. | <script>
  245. | type="data"
  246. | "<!--<script></scrip/</SCRIPT>"
  247. | <body>
  248. #data
  249. <script type="data"></scrip/></script>
  250. #errors
  251. (1,20): expected-doctype-but-got-start-tag
  252. #document
  253. | <html>
  254. | <head>
  255. | <script>
  256. | type="data"
  257. | "</scrip/>"
  258. | <body>
  259. #data
  260. <script type="data"></scrip ></script>
  261. #errors
  262. (1,20): expected-doctype-but-got-start-tag
  263. #document
  264. | <html>
  265. | <head>
  266. | <script>
  267. | type="data"
  268. | "</scrip >"
  269. | <body>
  270. #data
  271. <script type="data"><!--</scrip></script>
  272. #errors
  273. (1,20): expected-doctype-but-got-start-tag
  274. #document
  275. | <html>
  276. | <head>
  277. | <script>
  278. | type="data"
  279. | "<!--</scrip>"
  280. | <body>
  281. #data
  282. <script type="data"><!--</scrip </script>
  283. #errors
  284. (1,20): expected-doctype-but-got-start-tag
  285. #document
  286. | <html>
  287. | <head>
  288. | <script>
  289. | type="data"
  290. | "<!--</scrip "
  291. | <body>
  292. #data
  293. <script type="data"><!--</scrip/</script>
  294. #errors
  295. (1,20): expected-doctype-but-got-start-tag
  296. #document
  297. | <html>
  298. | <head>
  299. | <script>
  300. | type="data"
  301. | "<!--</scrip/"
  302. | <body>
  303. #data
  304. <!DOCTYPE html><!DOCTYPE html>
  305. #errors
  306. (1,30): unexpected-doctype
  307. #document
  308. | <!DOCTYPE html>
  309. | <html>
  310. | <head>
  311. | <body>
  312. #data
  313. <html><!DOCTYPE html>
  314. #errors
  315. (1,6): expected-doctype-but-got-start-tag
  316. (1,21): unexpected-doctype
  317. #document
  318. | <html>
  319. | <head>
  320. | <body>
  321. #data
  322. <html><head><!DOCTYPE html></head>
  323. #errors
  324. (1,6): expected-doctype-but-got-start-tag
  325. (1,27): unexpected-doctype
  326. #document
  327. | <html>
  328. | <head>
  329. | <body>
  330. #data
  331. <html><head></head><!DOCTYPE html>
  332. #errors
  333. (1,6): expected-doctype-but-got-start-tag
  334. (1,34): unexpected-doctype
  335. #document
  336. | <html>
  337. | <head>
  338. | <body>
  339. #data
  340. <body></body><!DOCTYPE html>
  341. #errors
  342. (1,6): expected-doctype-but-got-start-tag
  343. (1,28): unexpected-doctype
  344. #document
  345. | <html>
  346. | <head>
  347. | <body>
  348. #data
  349. <table><!DOCTYPE html></table>
  350. #errors
  351. (1,7): expected-doctype-but-got-start-tag
  352. (1,22): unexpected-doctype
  353. #document
  354. | <html>
  355. | <head>
  356. | <body>
  357. | <table>
  358. #data
  359. <select><!DOCTYPE html></select>
  360. #errors
  361. (1,8): expected-doctype-but-got-start-tag
  362. (1,23): unexpected-doctype
  363. #document
  364. | <html>
  365. | <head>
  366. | <body>
  367. | <select>
  368. #data
  369. <table><colgroup><!DOCTYPE html></colgroup></table>
  370. #errors
  371. (1,7): expected-doctype-but-got-start-tag
  372. (1,32): unexpected-doctype
  373. #document
  374. | <html>
  375. | <head>
  376. | <body>
  377. | <table>
  378. | <colgroup>
  379. #data
  380. <table><colgroup><!--test--></colgroup></table>
  381. #errors
  382. (1,7): expected-doctype-but-got-start-tag
  383. #document
  384. | <html>
  385. | <head>
  386. | <body>
  387. | <table>
  388. | <colgroup>
  389. | <!-- test -->
  390. #data
  391. <table><colgroup><html></colgroup></table>
  392. #errors
  393. (1,7): expected-doctype-but-got-start-tag
  394. (1,23): non-html-root
  395. #document
  396. | <html>
  397. | <head>
  398. | <body>
  399. | <table>
  400. | <colgroup>
  401. #data
  402. <table><colgroup> foo</colgroup></table>
  403. #errors
  404. (1,7): expected-doctype-but-got-start-tag
  405. (1,32): foster-parenting-character-in-table
  406. (1,32): foster-parenting-character-in-table
  407. (1,32): foster-parenting-character-in-table
  408. (1,32): unexpected-end-tag
  409. #document
  410. | <html>
  411. | <head>
  412. | <body>
  413. | "foo"
  414. | <table>
  415. | <colgroup>
  416. | " "
  417. #data
  418. <select><!--test--></select>
  419. #errors
  420. (1,8): expected-doctype-but-got-start-tag
  421. #document
  422. | <html>
  423. | <head>
  424. | <body>
  425. | <select>
  426. | <!-- test -->
  427. #data
  428. <select><html></select>
  429. #errors
  430. (1,8): expected-doctype-but-got-start-tag
  431. (1,14): non-html-root
  432. #document
  433. | <html>
  434. | <head>
  435. | <body>
  436. | <select>
  437. #data
  438. <frameset><html></frameset>
  439. #errors
  440. (1,10): expected-doctype-but-got-start-tag
  441. (1,16): non-html-root
  442. #document
  443. | <html>
  444. | <head>
  445. | <frameset>
  446. #data
  447. <frameset></frameset><html>
  448. #errors
  449. (1,10): expected-doctype-but-got-start-tag
  450. (1,27): non-html-root
  451. #document
  452. | <html>
  453. | <head>
  454. | <frameset>
  455. #data
  456. <frameset></frameset><!DOCTYPE html>
  457. #errors
  458. (1,10): expected-doctype-but-got-start-tag
  459. (1,36): unexpected-doctype
  460. #document
  461. | <html>
  462. | <head>
  463. | <frameset>
  464. #data
  465. <html><body></body></html><!DOCTYPE html>
  466. #errors
  467. (1,6): expected-doctype-but-got-start-tag
  468. (1,41): unexpected-doctype
  469. #document
  470. | <html>
  471. | <head>
  472. | <body>
  473. #data
  474. <svg><!DOCTYPE html></svg>
  475. #errors
  476. (1,5): expected-doctype-but-got-start-tag
  477. (1,20): unexpected-doctype
  478. #document
  479. | <html>
  480. | <head>
  481. | <body>
  482. | <svg svg>
  483. #data
  484. <svg><font></font></svg>
  485. #errors
  486. (1,5): expected-doctype-but-got-start-tag
  487. #document
  488. | <html>
  489. | <head>
  490. | <body>
  491. | <svg svg>
  492. | <svg font>
  493. #data
  494. <svg><font id=foo></font></svg>
  495. #errors
  496. (1,5): expected-doctype-but-got-start-tag
  497. #document
  498. | <html>
  499. | <head>
  500. | <body>
  501. | <svg svg>
  502. | <svg font>
  503. | id="foo"
  504. #data
  505. <svg><font size=4></font></svg>
  506. #errors
  507. (1,5): expected-doctype-but-got-start-tag
  508. (1,18): unexpected-html-element-in-foreign-content
  509. (1,31): unexpected-end-tag
  510. #document
  511. | <html>
  512. | <head>
  513. | <body>
  514. | <svg svg>
  515. | <font>
  516. | size="4"
  517. #data
  518. <svg><font color=red></font></svg>
  519. #errors
  520. (1,5): expected-doctype-but-got-start-tag
  521. (1,21): unexpected-html-element-in-foreign-content
  522. (1,34): unexpected-end-tag
  523. #document
  524. | <html>
  525. | <head>
  526. | <body>
  527. | <svg svg>
  528. | <font>
  529. | color="red"
  530. #data
  531. <svg><font font=sans></font></svg>
  532. #errors
  533. (1,5): expected-doctype-but-got-start-tag
  534. #document
  535. | <html>
  536. | <head>
  537. | <body>
  538. | <svg svg>
  539. | <svg font>
  540. | font="sans"