parser/htmlparser/tests/mochitest/html5lib_tree_construction/tables01.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/tables01.dat	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,286 @@
     1.4 +#data
     1.5 +<table><th>
     1.6 +#errors
     1.7 +(1,7): expected-doctype-but-got-start-tag
     1.8 +(1,11): unexpected-cell-in-table-body
     1.9 +(1,11): expected-closing-tag-but-got-eof
    1.10 +#document
    1.11 +| <html>
    1.12 +|   <head>
    1.13 +|   <body>
    1.14 +|     <table>
    1.15 +|       <tbody>
    1.16 +|         <tr>
    1.17 +|           <th>
    1.18 +
    1.19 +#data
    1.20 +<table><td>
    1.21 +#errors
    1.22 +(1,7): expected-doctype-but-got-start-tag
    1.23 +(1,11): unexpected-cell-in-table-body
    1.24 +(1,11): expected-closing-tag-but-got-eof
    1.25 +#document
    1.26 +| <html>
    1.27 +|   <head>
    1.28 +|   <body>
    1.29 +|     <table>
    1.30 +|       <tbody>
    1.31 +|         <tr>
    1.32 +|           <td>
    1.33 +
    1.34 +#data
    1.35 +<table><col foo='bar'>
    1.36 +#errors
    1.37 +(1,7): expected-doctype-but-got-start-tag
    1.38 +(1,22): eof-in-table
    1.39 +#document
    1.40 +| <html>
    1.41 +|   <head>
    1.42 +|   <body>
    1.43 +|     <table>
    1.44 +|       <colgroup>
    1.45 +|         <col>
    1.46 +|           foo="bar"
    1.47 +
    1.48 +#data
    1.49 +<table><colgroup></html>foo
    1.50 +#errors
    1.51 +(1,7): expected-doctype-but-got-start-tag
    1.52 +(1,24): unexpected-end-tag
    1.53 +(1,27): foster-parenting-character-in-table
    1.54 +(1,27): foster-parenting-character-in-table
    1.55 +(1,27): foster-parenting-character-in-table
    1.56 +(1,27): eof-in-table
    1.57 +#document
    1.58 +| <html>
    1.59 +|   <head>
    1.60 +|   <body>
    1.61 +|     "foo"
    1.62 +|     <table>
    1.63 +|       <colgroup>
    1.64 +
    1.65 +#data
    1.66 +<table></table><p>foo
    1.67 +#errors
    1.68 +(1,7): expected-doctype-but-got-start-tag
    1.69 +#document
    1.70 +| <html>
    1.71 +|   <head>
    1.72 +|   <body>
    1.73 +|     <table>
    1.74 +|     <p>
    1.75 +|       "foo"
    1.76 +
    1.77 +#data
    1.78 +<table></body></caption></col></colgroup></html></tbody></td></tfoot></th></thead></tr><td>
    1.79 +#errors
    1.80 +(1,7): expected-doctype-but-got-start-tag
    1.81 +(1,14): unexpected-end-tag
    1.82 +(1,24): unexpected-end-tag
    1.83 +(1,30): unexpected-end-tag
    1.84 +(1,41): unexpected-end-tag
    1.85 +(1,48): unexpected-end-tag
    1.86 +(1,56): unexpected-end-tag
    1.87 +(1,61): unexpected-end-tag
    1.88 +(1,69): unexpected-end-tag
    1.89 +(1,74): unexpected-end-tag
    1.90 +(1,82): unexpected-end-tag
    1.91 +(1,87): unexpected-end-tag
    1.92 +(1,91): unexpected-cell-in-table-body
    1.93 +(1,91): expected-closing-tag-but-got-eof
    1.94 +#document
    1.95 +| <html>
    1.96 +|   <head>
    1.97 +|   <body>
    1.98 +|     <table>
    1.99 +|       <tbody>
   1.100 +|         <tr>
   1.101 +|           <td>
   1.102 +
   1.103 +#data
   1.104 +<table><select><option>3</select></table>
   1.105 +#errors
   1.106 +(1,7): expected-doctype-but-got-start-tag
   1.107 +(1,15): unexpected-start-tag-implies-table-voodoo
   1.108 +#document
   1.109 +| <html>
   1.110 +|   <head>
   1.111 +|   <body>
   1.112 +|     <select>
   1.113 +|       <option>
   1.114 +|         "3"
   1.115 +|     <table>
   1.116 +
   1.117 +#data
   1.118 +<table><select><table></table></select></table>
   1.119 +#errors
   1.120 +(1,7): expected-doctype-but-got-start-tag
   1.121 +(1,15): unexpected-start-tag-implies-table-voodoo
   1.122 +(1,22): unexpected-table-element-start-tag-in-select-in-table
   1.123 +(1,22): unexpected-start-tag-implies-end-tag
   1.124 +(1,39): unexpected-end-tag
   1.125 +(1,47): unexpected-end-tag
   1.126 +#document
   1.127 +| <html>
   1.128 +|   <head>
   1.129 +|   <body>
   1.130 +|     <select>
   1.131 +|     <table>
   1.132 +|     <table>
   1.133 +
   1.134 +#data
   1.135 +<table><select></table>
   1.136 +#errors
   1.137 +(1,7): expected-doctype-but-got-start-tag
   1.138 +(1,15): unexpected-start-tag-implies-table-voodoo
   1.139 +(1,23): unexpected-table-element-end-tag-in-select-in-table
   1.140 +#document
   1.141 +| <html>
   1.142 +|   <head>
   1.143 +|   <body>
   1.144 +|     <select>
   1.145 +|     <table>
   1.146 +
   1.147 +#data
   1.148 +<table><select><option>A<tr><td>B</td></tr></table>
   1.149 +#errors
   1.150 +(1,7): expected-doctype-but-got-start-tag
   1.151 +(1,15): unexpected-start-tag-implies-table-voodoo
   1.152 +(1,28): unexpected-table-element-start-tag-in-select-in-table
   1.153 +#document
   1.154 +| <html>
   1.155 +|   <head>
   1.156 +|   <body>
   1.157 +|     <select>
   1.158 +|       <option>
   1.159 +|         "A"
   1.160 +|     <table>
   1.161 +|       <tbody>
   1.162 +|         <tr>
   1.163 +|           <td>
   1.164 +|             "B"
   1.165 +
   1.166 +#data
   1.167 +<table><td></body></caption></col></colgroup></html>foo
   1.168 +#errors
   1.169 +(1,7): expected-doctype-but-got-start-tag
   1.170 +(1,11): unexpected-cell-in-table-body
   1.171 +(1,18): unexpected-end-tag
   1.172 +(1,28): unexpected-end-tag
   1.173 +(1,34): unexpected-end-tag
   1.174 +(1,45): unexpected-end-tag
   1.175 +(1,52): unexpected-end-tag
   1.176 +(1,55): expected-closing-tag-but-got-eof
   1.177 +#document
   1.178 +| <html>
   1.179 +|   <head>
   1.180 +|   <body>
   1.181 +|     <table>
   1.182 +|       <tbody>
   1.183 +|         <tr>
   1.184 +|           <td>
   1.185 +|             "foo"
   1.186 +
   1.187 +#data
   1.188 +<table><td>A</table>B
   1.189 +#errors
   1.190 +(1,7): expected-doctype-but-got-start-tag
   1.191 +(1,11): unexpected-cell-in-table-body
   1.192 +#document
   1.193 +| <html>
   1.194 +|   <head>
   1.195 +|   <body>
   1.196 +|     <table>
   1.197 +|       <tbody>
   1.198 +|         <tr>
   1.199 +|           <td>
   1.200 +|             "A"
   1.201 +|     "B"
   1.202 +
   1.203 +#data
   1.204 +<table><tr><caption>
   1.205 +#errors
   1.206 +(1,7): expected-doctype-but-got-start-tag
   1.207 +(1,20): expected-closing-tag-but-got-eof
   1.208 +#document
   1.209 +| <html>
   1.210 +|   <head>
   1.211 +|   <body>
   1.212 +|     <table>
   1.213 +|       <tbody>
   1.214 +|         <tr>
   1.215 +|       <caption>
   1.216 +
   1.217 +#data
   1.218 +<table><tr></body></caption></col></colgroup></html></td></th><td>foo
   1.219 +#errors
   1.220 +(1,7): expected-doctype-but-got-start-tag
   1.221 +(1,18): unexpected-end-tag-in-table-row
   1.222 +(1,28): unexpected-end-tag-in-table-row
   1.223 +(1,34): unexpected-end-tag-in-table-row
   1.224 +(1,45): unexpected-end-tag-in-table-row
   1.225 +(1,52): unexpected-end-tag-in-table-row
   1.226 +(1,57): unexpected-end-tag-in-table-row
   1.227 +(1,62): unexpected-end-tag-in-table-row
   1.228 +(1,69): expected-closing-tag-but-got-eof
   1.229 +#document
   1.230 +| <html>
   1.231 +|   <head>
   1.232 +|   <body>
   1.233 +|     <table>
   1.234 +|       <tbody>
   1.235 +|         <tr>
   1.236 +|           <td>
   1.237 +|             "foo"
   1.238 +
   1.239 +#data
   1.240 +<table><td><tr>
   1.241 +#errors
   1.242 +(1,7): expected-doctype-but-got-start-tag
   1.243 +(1,11): unexpected-cell-in-table-body
   1.244 +(1,15): eof-in-table
   1.245 +#document
   1.246 +| <html>
   1.247 +|   <head>
   1.248 +|   <body>
   1.249 +|     <table>
   1.250 +|       <tbody>
   1.251 +|         <tr>
   1.252 +|           <td>
   1.253 +|         <tr>
   1.254 +
   1.255 +#data
   1.256 +<table><td><button><td>
   1.257 +#errors
   1.258 +(1,7): expected-doctype-but-got-start-tag
   1.259 +(1,11): unexpected-cell-in-table-body
   1.260 +(1,23): unexpected-cell-end-tag
   1.261 +(1,23): expected-closing-tag-but-got-eof
   1.262 +#document
   1.263 +| <html>
   1.264 +|   <head>
   1.265 +|   <body>
   1.266 +|     <table>
   1.267 +|       <tbody>
   1.268 +|         <tr>
   1.269 +|           <td>
   1.270 +|             <button>
   1.271 +|           <td>
   1.272 +
   1.273 +#data
   1.274 +<table><tr><td><svg><desc><td>
   1.275 +#errors
   1.276 +(1,7): expected-doctype-but-got-start-tag
   1.277 +(1,30): unexpected-cell-end-tag
   1.278 +(1,30): expected-closing-tag-but-got-eof
   1.279 +#document
   1.280 +| <html>
   1.281 +|   <head>
   1.282 +|   <body>
   1.283 +|     <table>
   1.284 +|       <tbody>
   1.285 +|         <tr>
   1.286 +|           <td>
   1.287 +|             <svg svg>
   1.288 +|               <svg desc>
   1.289 +|           <td>

mercurial