parser/htmlparser/tests/mochitest/html5lib_tree_construction/tests8.dat

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/parser/htmlparser/tests/mochitest/html5lib_tree_construction/tests8.dat	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,149 @@
     1.4 +#data
     1.5 +<div>
     1.6 +<div></div>
     1.7 +</span>x
     1.8 +#errors
     1.9 +(1,5): expected-doctype-but-got-start-tag
    1.10 +(3,7): unexpected-end-tag
    1.11 +(3,8): expected-closing-tag-but-got-eof
    1.12 +#document
    1.13 +| <html>
    1.14 +|   <head>
    1.15 +|   <body>
    1.16 +|     <div>
    1.17 +|       "
    1.18 +"
    1.19 +|       <div>
    1.20 +|       "
    1.21 +x"
    1.22 +
    1.23 +#data
    1.24 +<div>x<div></div>
    1.25 +</span>x
    1.26 +#errors
    1.27 +(1,5): expected-doctype-but-got-start-tag
    1.28 +(2,7): unexpected-end-tag
    1.29 +(2,8): expected-closing-tag-but-got-eof
    1.30 +#document
    1.31 +| <html>
    1.32 +|   <head>
    1.33 +|   <body>
    1.34 +|     <div>
    1.35 +|       "x"
    1.36 +|       <div>
    1.37 +|       "
    1.38 +x"
    1.39 +
    1.40 +#data
    1.41 +<div>x<div></div>x</span>x
    1.42 +#errors
    1.43 +(1,5): expected-doctype-but-got-start-tag
    1.44 +(1,25): unexpected-end-tag
    1.45 +(1,26): expected-closing-tag-but-got-eof
    1.46 +#document
    1.47 +| <html>
    1.48 +|   <head>
    1.49 +|   <body>
    1.50 +|     <div>
    1.51 +|       "x"
    1.52 +|       <div>
    1.53 +|       "xx"
    1.54 +
    1.55 +#data
    1.56 +<div>x<div></div>y</span>z
    1.57 +#errors
    1.58 +(1,5): expected-doctype-but-got-start-tag
    1.59 +(1,25): unexpected-end-tag
    1.60 +(1,26): expected-closing-tag-but-got-eof
    1.61 +#document
    1.62 +| <html>
    1.63 +|   <head>
    1.64 +|   <body>
    1.65 +|     <div>
    1.66 +|       "x"
    1.67 +|       <div>
    1.68 +|       "yz"
    1.69 +
    1.70 +#data
    1.71 +<table><div>x<div></div>x</span>x
    1.72 +#errors
    1.73 +(1,7): expected-doctype-but-got-start-tag
    1.74 +(1,12): foster-parenting-start-tag
    1.75 +(1,13): foster-parenting-character
    1.76 +(1,18): foster-parenting-start-tag
    1.77 +(1,24): foster-parenting-end-tag
    1.78 +(1,25): foster-parenting-start-tag
    1.79 +(1,32): foster-parenting-end-tag
    1.80 +(1,32): unexpected-end-tag
    1.81 +(1,33): foster-parenting-character
    1.82 +(1,33): eof-in-table
    1.83 +#document
    1.84 +| <html>
    1.85 +|   <head>
    1.86 +|   <body>
    1.87 +|     <div>
    1.88 +|       "x"
    1.89 +|       <div>
    1.90 +|       "xx"
    1.91 +|     <table>
    1.92 +
    1.93 +#data
    1.94 +x<table>x
    1.95 +#errors
    1.96 +(1,1): expected-doctype-but-got-chars
    1.97 +(1,9): foster-parenting-character
    1.98 +#document
    1.99 +| <html>
   1.100 +|   <head>
   1.101 +|   <body>
   1.102 +|     "xx"
   1.103 +|     <table>
   1.104 +
   1.105 +#data
   1.106 +x<table><table>x
   1.107 +#errors
   1.108 +(1,1): expected-doctype-but-got-chars
   1.109 +(1,15): unexpected-start-tag-implies-end-tag
   1.110 +(1,16): foster-parenting-character
   1.111 +#document
   1.112 +| <html>
   1.113 +|   <head>
   1.114 +|   <body>
   1.115 +|     "x"
   1.116 +|     <table>
   1.117 +|     "x"
   1.118 +|     <table>
   1.119 +
   1.120 +#data
   1.121 +<b>a<div></div><div></b>y
   1.122 +#errors
   1.123 +(1,3): expected-doctype-but-got-start-tag
   1.124 +(1,24): adoption-agency-1.3
   1.125 +(1,25): expected-closing-tag-but-got-eof
   1.126 +#document
   1.127 +| <html>
   1.128 +|   <head>
   1.129 +|   <body>
   1.130 +|     <b>
   1.131 +|       "a"
   1.132 +|       <div>
   1.133 +|     <div>
   1.134 +|       <b>
   1.135 +|       "y"
   1.136 +
   1.137 +#data
   1.138 +<a><div><p></a>
   1.139 +#errors
   1.140 +(1,3): expected-doctype-but-got-start-tag
   1.141 +(1,15): adoption-agency-1.3
   1.142 +(1,15): adoption-agency-1.3
   1.143 +(1,15): expected-closing-tag-but-got-eof
   1.144 +#document
   1.145 +| <html>
   1.146 +|   <head>
   1.147 +|   <body>
   1.148 +|     <a>
   1.149 +|     <div>
   1.150 +|       <a>
   1.151 +|       <p>
   1.152 +|         <a>

mercurial