webkit01.dat 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721
  1. #data
  2. Test
  3. #errors
  4. (1,4): expected-doctype-but-got-chars
  5. #document
  6. | <html>
  7. | <head>
  8. | <body>
  9. | "Test"
  10. #data
  11. <div></div>
  12. #errors
  13. (1,5): expected-doctype-but-got-start-tag
  14. #document
  15. | <html>
  16. | <head>
  17. | <body>
  18. | <div>
  19. #data
  20. <div>Test</div>
  21. #errors
  22. (1,5): expected-doctype-but-got-start-tag
  23. #document
  24. | <html>
  25. | <head>
  26. | <body>
  27. | <div>
  28. | "Test"
  29. #data
  30. <di
  31. #errors
  32. (1,3): eof-in-tag-name
  33. (1,3): expected-doctype-but-got-eof
  34. #document
  35. | <html>
  36. | <head>
  37. | <body>
  38. #data
  39. <div>Hello</div>
  40. <script>
  41. console.log("PASS");
  42. </script>
  43. <div>Bye</div>
  44. #errors
  45. (1,5): expected-doctype-but-got-start-tag
  46. #document
  47. | <html>
  48. | <head>
  49. | <body>
  50. | <div>
  51. | "Hello"
  52. | "
  53. "
  54. | <script>
  55. | "
  56. console.log("PASS");
  57. "
  58. | "
  59. "
  60. | <div>
  61. | "Bye"
  62. #data
  63. <div foo="bar">Hello</div>
  64. #errors
  65. (1,15): expected-doctype-but-got-start-tag
  66. #document
  67. | <html>
  68. | <head>
  69. | <body>
  70. | <div>
  71. | foo="bar"
  72. | "Hello"
  73. #data
  74. <div>Hello</div>
  75. <script>
  76. console.log("FOO<span>BAR</span>BAZ");
  77. </script>
  78. <div>Bye</div>
  79. #errors
  80. (1,5): expected-doctype-but-got-start-tag
  81. #document
  82. | <html>
  83. | <head>
  84. | <body>
  85. | <div>
  86. | "Hello"
  87. | "
  88. "
  89. | <script>
  90. | "
  91. console.log("FOO<span>BAR</span>BAZ");
  92. "
  93. | "
  94. "
  95. | <div>
  96. | "Bye"
  97. #data
  98. <foo bar="baz"></foo><potato quack="duck"></potato>
  99. #errors
  100. (1,15): expected-doctype-but-got-start-tag
  101. #document
  102. | <html>
  103. | <head>
  104. | <body>
  105. | <foo>
  106. | bar="baz"
  107. | <potato>
  108. | quack="duck"
  109. #data
  110. <foo bar="baz"><potato quack="duck"></potato></foo>
  111. #errors
  112. (1,15): expected-doctype-but-got-start-tag
  113. #document
  114. | <html>
  115. | <head>
  116. | <body>
  117. | <foo>
  118. | bar="baz"
  119. | <potato>
  120. | quack="duck"
  121. #data
  122. <foo></foo bar="baz"><potato></potato quack="duck">
  123. #errors
  124. (1,5): expected-doctype-but-got-start-tag
  125. (1,21): attributes-in-end-tag
  126. (1,51): attributes-in-end-tag
  127. #document
  128. | <html>
  129. | <head>
  130. | <body>
  131. | <foo>
  132. | <potato>
  133. #data
  134. </ tttt>
  135. #errors
  136. (1,2): expected-closing-tag-but-got-char
  137. (1,8): expected-doctype-but-got-eof
  138. #document
  139. | <!-- tttt -->
  140. | <html>
  141. | <head>
  142. | <body>
  143. #data
  144. <div FOO ><img><img></div>
  145. #errors
  146. (1,10): expected-doctype-but-got-start-tag
  147. #document
  148. | <html>
  149. | <head>
  150. | <body>
  151. | <div>
  152. | foo=""
  153. | <img>
  154. | <img>
  155. #data
  156. <p>Test</p<p>Test2</p>
  157. #errors
  158. (1,3): expected-doctype-but-got-start-tag
  159. (1,13): unexpected-end-tag
  160. #document
  161. | <html>
  162. | <head>
  163. | <body>
  164. | <p>
  165. | "TestTest2"
  166. #data
  167. <rdar://problem/6869687>
  168. #errors
  169. (1,7): unexpected-character-after-solidus-in-tag
  170. (1,8): unexpected-character-after-solidus-in-tag
  171. (1,16): unexpected-character-after-solidus-in-tag
  172. (1,24): expected-doctype-but-got-start-tag
  173. (1,24): expected-closing-tag-but-got-eof
  174. #document
  175. | <html>
  176. | <head>
  177. | <body>
  178. | <rdar:>
  179. | 6869687=""
  180. | problem=""
  181. #data
  182. <A>test< /A>
  183. #errors
  184. (1,3): expected-doctype-but-got-start-tag
  185. (1,8): expected-tag-name
  186. (1,12): expected-closing-tag-but-got-eof
  187. #document
  188. | <html>
  189. | <head>
  190. | <body>
  191. | <a>
  192. | "test< /A>"
  193. #data
  194. &lt;
  195. #errors
  196. (1,4): expected-doctype-but-got-chars
  197. #document
  198. | <html>
  199. | <head>
  200. | <body>
  201. | "<"
  202. #data
  203. <body foo='bar'><body foo='baz' yo='mama'>
  204. #errors
  205. (1,16): expected-doctype-but-got-start-tag
  206. (1,42): unexpected-start-tag
  207. #document
  208. | <html>
  209. | <head>
  210. | <body>
  211. | foo="bar"
  212. | yo="mama"
  213. #data
  214. <body></br foo="bar"></body>
  215. #errors
  216. (1,6): expected-doctype-but-got-start-tag
  217. (1,21): attributes-in-end-tag
  218. (1,21): unexpected-end-tag-treated-as
  219. #document
  220. | <html>
  221. | <head>
  222. | <body>
  223. | <br>
  224. #data
  225. <bdy><br foo="bar"></body>
  226. #errors
  227. (1,5): expected-doctype-but-got-start-tag
  228. (1,26): expected-one-end-tag-but-got-another
  229. #document
  230. | <html>
  231. | <head>
  232. | <body>
  233. | <bdy>
  234. | <br>
  235. | foo="bar"
  236. #data
  237. <body></body></br foo="bar">
  238. #errors
  239. (1,6): expected-doctype-but-got-start-tag
  240. (1,28): attributes-in-end-tag
  241. (1,28): unexpected-end-tag-after-body
  242. (1,28): unexpected-end-tag-treated-as
  243. #document
  244. | <html>
  245. | <head>
  246. | <body>
  247. | <br>
  248. #data
  249. <bdy></body><br foo="bar">
  250. #errors
  251. (1,5): expected-doctype-but-got-start-tag
  252. (1,12): expected-one-end-tag-but-got-another
  253. (1,26): unexpected-start-tag-after-body
  254. (1,26): expected-closing-tag-but-got-eof
  255. #document
  256. | <html>
  257. | <head>
  258. | <body>
  259. | <bdy>
  260. | <br>
  261. | foo="bar"
  262. #data
  263. <html><body></body></html><!-- Hi there -->
  264. #errors
  265. (1,6): expected-doctype-but-got-start-tag
  266. #document
  267. | <html>
  268. | <head>
  269. | <body>
  270. | <!-- Hi there -->
  271. #data
  272. <html><body></body></html>x<!-- Hi there -->
  273. #errors
  274. (1,6): expected-doctype-but-got-start-tag
  275. (1,27): expected-eof-but-got-char
  276. #document
  277. | <html>
  278. | <head>
  279. | <body>
  280. | "x"
  281. | <!-- Hi there -->
  282. #data
  283. <html><body></body></html>x<!-- Hi there --></html><!-- Again -->
  284. #errors
  285. (1,6): expected-doctype-but-got-start-tag
  286. (1,27): expected-eof-but-got-char
  287. #document
  288. | <html>
  289. | <head>
  290. | <body>
  291. | "x"
  292. | <!-- Hi there -->
  293. | <!-- Again -->
  294. #data
  295. <html><body></body></html>x<!-- Hi there --></body></html><!-- Again -->
  296. #errors
  297. (1,6): expected-doctype-but-got-start-tag
  298. (1,27): expected-eof-but-got-char
  299. #document
  300. | <html>
  301. | <head>
  302. | <body>
  303. | "x"
  304. | <!-- Hi there -->
  305. | <!-- Again -->
  306. #data
  307. <html><body><ruby><div><rp>xx</rp></div></ruby></body></html>
  308. #errors
  309. (1,6): expected-doctype-but-got-start-tag
  310. (1,27): XXX-undefined-error
  311. #document
  312. | <html>
  313. | <head>
  314. | <body>
  315. | <ruby>
  316. | <div>
  317. | <rp>
  318. | "xx"
  319. #data
  320. <html><body><ruby><div><rt>xx</rt></div></ruby></body></html>
  321. #errors
  322. (1,6): expected-doctype-but-got-start-tag
  323. (1,27): XXX-undefined-error
  324. #document
  325. | <html>
  326. | <head>
  327. | <body>
  328. | <ruby>
  329. | <div>
  330. | <rt>
  331. | "xx"
  332. #data
  333. <html><frameset><!--1--><noframes>A</noframes><!--2--></frameset><!--3--><noframes>B</noframes><!--4--></html><!--5--><noframes>C</noframes><!--6-->
  334. #errors
  335. (1,6): expected-doctype-but-got-start-tag
  336. #document
  337. | <html>
  338. | <head>
  339. | <frameset>
  340. | <!-- 1 -->
  341. | <noframes>
  342. | "A"
  343. | <!-- 2 -->
  344. | <!-- 3 -->
  345. | <noframes>
  346. | "B"
  347. | <!-- 4 -->
  348. | <noframes>
  349. | "C"
  350. | <!-- 5 -->
  351. | <!-- 6 -->
  352. #data
  353. <select><option>A<select><option>B<select><option>C<select><option>D<select><option>E<select><option>F<select><option>G<select>
  354. #errors
  355. (1,8): expected-doctype-but-got-start-tag
  356. (1,25): unexpected-select-in-select
  357. (1,59): unexpected-select-in-select
  358. (1,93): unexpected-select-in-select
  359. (1,127): unexpected-select-in-select
  360. (1,127): expected-closing-tag-but-got-eof
  361. #document
  362. | <html>
  363. | <head>
  364. | <body>
  365. | <select>
  366. | <option>
  367. | "A"
  368. | <option>
  369. | "B"
  370. | <select>
  371. | <option>
  372. | "C"
  373. | <option>
  374. | "D"
  375. | <select>
  376. | <option>
  377. | "E"
  378. | <option>
  379. | "F"
  380. | <select>
  381. | <option>
  382. | "G"
  383. #data
  384. <dd><dd><dt><dt><dd><li><li>
  385. #errors
  386. (1,4): expected-doctype-but-got-start-tag
  387. #document
  388. | <html>
  389. | <head>
  390. | <body>
  391. | <dd>
  392. | <dd>
  393. | <dt>
  394. | <dt>
  395. | <dd>
  396. | <li>
  397. | <li>
  398. #data
  399. <div><b></div><div><nobr>a<nobr>
  400. #errors
  401. (1,5): expected-doctype-but-got-start-tag
  402. (1,14): end-tag-too-early
  403. (1,32): unexpected-start-tag-implies-end-tag
  404. (1,32): expected-closing-tag-but-got-eof
  405. #document
  406. | <html>
  407. | <head>
  408. | <body>
  409. | <div>
  410. | <b>
  411. | <div>
  412. | <b>
  413. | <nobr>
  414. | "a"
  415. | <nobr>
  416. #data
  417. <head></head>
  418. <body></body>
  419. #errors
  420. (1,6): expected-doctype-but-got-start-tag
  421. #document
  422. | <html>
  423. | <head>
  424. | "
  425. "
  426. | <body>
  427. #data
  428. <head></head> <style></style>ddd
  429. #errors
  430. (1,6): expected-doctype-but-got-start-tag
  431. (1,21): unexpected-start-tag-out-of-my-head
  432. #document
  433. | <html>
  434. | <head>
  435. | <style>
  436. | " "
  437. | <body>
  438. | "ddd"
  439. #data
  440. <kbd><table></kbd><col><select><tr>
  441. #errors
  442. (1,5): expected-doctype-but-got-start-tag
  443. (1,18): unexpected-end-tag-implies-table-voodoo
  444. (1,18): unexpected-end-tag
  445. (1,31): unexpected-start-tag-implies-table-voodoo
  446. (1,35): unexpected-table-element-start-tag-in-select-in-table
  447. (1,35): eof-in-table
  448. #document
  449. | <html>
  450. | <head>
  451. | <body>
  452. | <kbd>
  453. | <select>
  454. | <table>
  455. | <colgroup>
  456. | <col>
  457. | <tbody>
  458. | <tr>
  459. #data
  460. <kbd><table></kbd><col><select><tr></table><div>
  461. #errors
  462. (1,5): expected-doctype-but-got-start-tag
  463. (1,18): unexpected-end-tag-implies-table-voodoo
  464. (1,18): unexpected-end-tag
  465. (1,31): unexpected-start-tag-implies-table-voodoo
  466. (1,35): unexpected-table-element-start-tag-in-select-in-table
  467. (1,48): expected-closing-tag-but-got-eof
  468. #document
  469. | <html>
  470. | <head>
  471. | <body>
  472. | <kbd>
  473. | <select>
  474. | <table>
  475. | <colgroup>
  476. | <col>
  477. | <tbody>
  478. | <tr>
  479. | <div>
  480. #data
  481. <a><li><style></style><title></title></a>
  482. #errors
  483. (1,3): expected-doctype-but-got-start-tag
  484. (1,41): adoption-agency-1.3
  485. #document
  486. | <html>
  487. | <head>
  488. | <body>
  489. | <a>
  490. | <li>
  491. | <a>
  492. | <style>
  493. | <title>
  494. #data
  495. <font></p><p><meta><title></title></font>
  496. #errors
  497. (1,6): expected-doctype-but-got-start-tag
  498. (1,10): unexpected-end-tag
  499. (1,41): adoption-agency-1.3
  500. #document
  501. | <html>
  502. | <head>
  503. | <body>
  504. | <font>
  505. | <p>
  506. | <p>
  507. | <font>
  508. | <meta>
  509. | <title>
  510. #data
  511. <a><center><title></title><a>
  512. #errors
  513. (1,3): expected-doctype-but-got-start-tag
  514. (1,29): unexpected-start-tag-implies-end-tag
  515. (1,29): adoption-agency-1.3
  516. (1,29): expected-closing-tag-but-got-eof
  517. #document
  518. | <html>
  519. | <head>
  520. | <body>
  521. | <a>
  522. | <center>
  523. | <a>
  524. | <title>
  525. | <a>
  526. #data
  527. <svg><title><div>
  528. #errors
  529. (1,5): expected-doctype-but-got-start-tag
  530. (1,17): expected-closing-tag-but-got-eof
  531. #document
  532. | <html>
  533. | <head>
  534. | <body>
  535. | <svg svg>
  536. | <svg title>
  537. | <div>
  538. #data
  539. <svg><title><rect><div>
  540. #errors
  541. (1,5): expected-doctype-but-got-start-tag
  542. (1,23): expected-closing-tag-but-got-eof
  543. #document
  544. | <html>
  545. | <head>
  546. | <body>
  547. | <svg svg>
  548. | <svg title>
  549. | <rect>
  550. | <div>
  551. #data
  552. <svg><title><svg><div>
  553. #errors
  554. (1,5): expected-doctype-but-got-start-tag
  555. (1,22): unexpected-html-element-in-foreign-content
  556. (1,22): expected-closing-tag-but-got-eof
  557. #document
  558. | <html>
  559. | <head>
  560. | <body>
  561. | <svg svg>
  562. | <svg title>
  563. | <svg svg>
  564. | <div>
  565. #data
  566. <img <="" FAIL>
  567. #errors
  568. (1,6): invalid-character-in-attribute-name
  569. (1,15): expected-doctype-but-got-start-tag
  570. #document
  571. | <html>
  572. | <head>
  573. | <body>
  574. | <img>
  575. | <=""
  576. | fail=""
  577. #data
  578. <ul><li><div id='foo'/>A</li><li>B<div>C</div></li></ul>
  579. #errors
  580. (1,4): expected-doctype-but-got-start-tag
  581. (1,23): non-void-element-with-trailing-solidus
  582. (1,29): end-tag-too-early
  583. #document
  584. | <html>
  585. | <head>
  586. | <body>
  587. | <ul>
  588. | <li>
  589. | <div>
  590. | id="foo"
  591. | "A"
  592. | <li>
  593. | "B"
  594. | <div>
  595. | "C"
  596. #data
  597. <svg><em><desc></em>
  598. #errors
  599. (1,5): expected-doctype-but-got-start-tag
  600. (1,9): unexpected-html-element-in-foreign-content
  601. (1,20): adoption-agency-1.3
  602. #document
  603. | <html>
  604. | <head>
  605. | <body>
  606. | <svg svg>
  607. | <em>
  608. | <desc>
  609. #data
  610. <table><tr><td><svg><desc><td></desc><circle>
  611. #errors
  612. #document
  613. | <html>
  614. | <head>
  615. | <body>
  616. | <table>
  617. | <tbody>
  618. | <tr>
  619. | <td>
  620. | <svg svg>
  621. | <svg desc>
  622. | <td>
  623. | <circle>
  624. #data
  625. <svg><tfoot></mi><td>
  626. #errors
  627. (1,5): expected-doctype-but-got-start-tag
  628. (1,17): unexpected-end-tag
  629. (1,17): unexpected-end-tag
  630. (1,21): expected-closing-tag-but-got-eof
  631. #document
  632. | <html>
  633. | <head>
  634. | <body>
  635. | <svg svg>
  636. | <svg tfoot>
  637. | <svg td>
  638. #data
  639. <math><mrow><mrow><mn>1</mn></mrow><mi>a</mi></mrow></math>
  640. #errors
  641. (1,6): expected-doctype-but-got-start-tag
  642. #document
  643. | <html>
  644. | <head>
  645. | <body>
  646. | <math math>
  647. | <math mrow>
  648. | <math mrow>
  649. | <math mn>
  650. | "1"
  651. | <math mi>
  652. | "a"
  653. #data
  654. <!doctype html><input type="hidden"><frameset>
  655. #errors
  656. (1,46): unexpected-start-tag
  657. (1,46): eof-in-frameset
  658. #document
  659. | <!DOCTYPE html>
  660. | <html>
  661. | <head>
  662. | <frameset>
  663. #data
  664. <!doctype html><input type="button"><frameset>
  665. #errors
  666. (1,46): unexpected-start-tag
  667. #document
  668. | <!DOCTYPE html>
  669. | <html>
  670. | <head>
  671. | <body>
  672. | <input>
  673. | type="button"