parser/htmlparser/tests/mochitest/html5lib_tree_construction/tests18.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/tests18.dat	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,322 @@
     1.4 +#data
     1.5 +<!doctype html><plaintext></plaintext>
     1.6 +#errors
     1.7 +(1,38): expected-closing-tag-but-got-eof
     1.8 +#document
     1.9 +| <!DOCTYPE html>
    1.10 +| <html>
    1.11 +|   <head>
    1.12 +|   <body>
    1.13 +|     <plaintext>
    1.14 +|       "</plaintext>"
    1.15 +
    1.16 +#data
    1.17 +<!doctype html><table><plaintext></plaintext>
    1.18 +#errors
    1.19 +(1,33): foster-parenting-start-tag
    1.20 +(1,34): foster-parenting-character
    1.21 +(1,35): foster-parenting-character
    1.22 +(1,36): foster-parenting-character
    1.23 +(1,37): foster-parenting-character
    1.24 +(1,38): foster-parenting-character
    1.25 +(1,39): foster-parenting-character
    1.26 +(1,40): foster-parenting-character
    1.27 +(1,41): foster-parenting-character
    1.28 +(1,42): foster-parenting-character
    1.29 +(1,43): foster-parenting-character
    1.30 +(1,44): foster-parenting-character
    1.31 +(1,45): foster-parenting-character
    1.32 +(1,45): eof-in-table
    1.33 +#document
    1.34 +| <!DOCTYPE html>
    1.35 +| <html>
    1.36 +|   <head>
    1.37 +|   <body>
    1.38 +|     <plaintext>
    1.39 +|       "</plaintext>"
    1.40 +|     <table>
    1.41 +
    1.42 +#data
    1.43 +<!doctype html><table><tbody><plaintext></plaintext>
    1.44 +#errors
    1.45 +(1,40): foster-parenting-start-tag
    1.46 +(1,41): foster-parenting-character
    1.47 +(1,41): foster-parenting-character
    1.48 +(1,41): foster-parenting-character
    1.49 +(1,41): foster-parenting-character
    1.50 +(1,41): foster-parenting-character
    1.51 +(1,41): foster-parenting-character
    1.52 +(1,41): foster-parenting-character
    1.53 +(1,41): foster-parenting-character
    1.54 +(1,41): foster-parenting-character
    1.55 +(1,41): foster-parenting-character
    1.56 +(1,41): foster-parenting-character
    1.57 +(1,41): foster-parenting-character
    1.58 +(1,52): eof-in-table
    1.59 +#document
    1.60 +| <!DOCTYPE html>
    1.61 +| <html>
    1.62 +|   <head>
    1.63 +|   <body>
    1.64 +|     <plaintext>
    1.65 +|       "</plaintext>"
    1.66 +|     <table>
    1.67 +|       <tbody>
    1.68 +
    1.69 +#data
    1.70 +<!doctype html><table><tbody><tr><plaintext></plaintext>
    1.71 +#errors
    1.72 +(1,44): foster-parenting-start-tag
    1.73 +(1,45): foster-parenting-character
    1.74 +(1,46): foster-parenting-character
    1.75 +(1,47): foster-parenting-character
    1.76 +(1,48): foster-parenting-character
    1.77 +(1,49): foster-parenting-character
    1.78 +(1,50): foster-parenting-character
    1.79 +(1,51): foster-parenting-character
    1.80 +(1,52): foster-parenting-character
    1.81 +(1,53): foster-parenting-character
    1.82 +(1,54): foster-parenting-character
    1.83 +(1,55): foster-parenting-character
    1.84 +(1,56): foster-parenting-character
    1.85 +(1,56): eof-in-table
    1.86 +#document
    1.87 +| <!DOCTYPE html>
    1.88 +| <html>
    1.89 +|   <head>
    1.90 +|   <body>
    1.91 +|     <plaintext>
    1.92 +|       "</plaintext>"
    1.93 +|     <table>
    1.94 +|       <tbody>
    1.95 +|         <tr>
    1.96 +
    1.97 +#data
    1.98 +<!doctype html><table><td><plaintext></plaintext>
    1.99 +#errors
   1.100 +(1,26): unexpected-cell-in-table-body
   1.101 +(1,49): expected-closing-tag-but-got-eof
   1.102 +#document
   1.103 +| <!DOCTYPE html>
   1.104 +| <html>
   1.105 +|   <head>
   1.106 +|   <body>
   1.107 +|     <table>
   1.108 +|       <tbody>
   1.109 +|         <tr>
   1.110 +|           <td>
   1.111 +|             <plaintext>
   1.112 +|               "</plaintext>"
   1.113 +
   1.114 +#data
   1.115 +<!doctype html><table><caption><plaintext></plaintext>
   1.116 +#errors
   1.117 +(1,54): expected-closing-tag-but-got-eof
   1.118 +#document
   1.119 +| <!DOCTYPE html>
   1.120 +| <html>
   1.121 +|   <head>
   1.122 +|   <body>
   1.123 +|     <table>
   1.124 +|       <caption>
   1.125 +|         <plaintext>
   1.126 +|           "</plaintext>"
   1.127 +
   1.128 +#data
   1.129 +<!doctype html><table><tr><style></script></style>abc
   1.130 +#errors
   1.131 +(1,51): foster-parenting-character
   1.132 +(1,52): foster-parenting-character
   1.133 +(1,53): foster-parenting-character
   1.134 +(1,53): eof-in-table
   1.135 +#document
   1.136 +| <!DOCTYPE html>
   1.137 +| <html>
   1.138 +|   <head>
   1.139 +|   <body>
   1.140 +|     "abc"
   1.141 +|     <table>
   1.142 +|       <tbody>
   1.143 +|         <tr>
   1.144 +|           <style>
   1.145 +|             "</script>"
   1.146 +
   1.147 +#data
   1.148 +<!doctype html><table><tr><script></style></script>abc
   1.149 +#errors
   1.150 +(1,52): foster-parenting-character
   1.151 +(1,53): foster-parenting-character
   1.152 +(1,54): foster-parenting-character
   1.153 +(1,54): eof-in-table
   1.154 +#document
   1.155 +| <!DOCTYPE html>
   1.156 +| <html>
   1.157 +|   <head>
   1.158 +|   <body>
   1.159 +|     "abc"
   1.160 +|     <table>
   1.161 +|       <tbody>
   1.162 +|         <tr>
   1.163 +|           <script>
   1.164 +|             "</style>"
   1.165 +
   1.166 +#data
   1.167 +<!doctype html><table><caption><style></script></style>abc
   1.168 +#errors
   1.169 +(1,58): expected-closing-tag-but-got-eof
   1.170 +#document
   1.171 +| <!DOCTYPE html>
   1.172 +| <html>
   1.173 +|   <head>
   1.174 +|   <body>
   1.175 +|     <table>
   1.176 +|       <caption>
   1.177 +|         <style>
   1.178 +|           "</script>"
   1.179 +|         "abc"
   1.180 +
   1.181 +#data
   1.182 +<!doctype html><table><td><style></script></style>abc
   1.183 +#errors
   1.184 +(1,26): unexpected-cell-in-table-body
   1.185 +(1,53): expected-closing-tag-but-got-eof
   1.186 +#document
   1.187 +| <!DOCTYPE html>
   1.188 +| <html>
   1.189 +|   <head>
   1.190 +|   <body>
   1.191 +|     <table>
   1.192 +|       <tbody>
   1.193 +|         <tr>
   1.194 +|           <td>
   1.195 +|             <style>
   1.196 +|               "</script>"
   1.197 +|             "abc"
   1.198 +
   1.199 +#data
   1.200 +<!doctype html><select><script></style></script>abc
   1.201 +#errors
   1.202 +(1,51): eof-in-select
   1.203 +#document
   1.204 +| <!DOCTYPE html>
   1.205 +| <html>
   1.206 +|   <head>
   1.207 +|   <body>
   1.208 +|     <select>
   1.209 +|       <script>
   1.210 +|         "</style>"
   1.211 +|       "abc"
   1.212 +
   1.213 +#data
   1.214 +<!doctype html><table><select><script></style></script>abc
   1.215 +#errors
   1.216 +(1,30): unexpected-start-tag-implies-table-voodoo
   1.217 +(1,58): eof-in-select
   1.218 +#document
   1.219 +| <!DOCTYPE html>
   1.220 +| <html>
   1.221 +|   <head>
   1.222 +|   <body>
   1.223 +|     <select>
   1.224 +|       <script>
   1.225 +|         "</style>"
   1.226 +|       "abc"
   1.227 +|     <table>
   1.228 +
   1.229 +#data
   1.230 +<!doctype html><table><tr><select><script></style></script>abc
   1.231 +#errors
   1.232 +(1,34): unexpected-start-tag-implies-table-voodoo
   1.233 +(1,62): eof-in-select
   1.234 +#document
   1.235 +| <!DOCTYPE html>
   1.236 +| <html>
   1.237 +|   <head>
   1.238 +|   <body>
   1.239 +|     <select>
   1.240 +|       <script>
   1.241 +|         "</style>"
   1.242 +|       "abc"
   1.243 +|     <table>
   1.244 +|       <tbody>
   1.245 +|         <tr>
   1.246 +
   1.247 +#data
   1.248 +<!doctype html><frameset></frameset><noframes>abc
   1.249 +#errors
   1.250 +(1,49): expected-named-closing-tag-but-got-eof
   1.251 +#document
   1.252 +| <!DOCTYPE html>
   1.253 +| <html>
   1.254 +|   <head>
   1.255 +|   <frameset>
   1.256 +|   <noframes>
   1.257 +|     "abc"
   1.258 +
   1.259 +#data
   1.260 +<!doctype html><frameset></frameset><noframes>abc</noframes><!--abc-->
   1.261 +#errors
   1.262 +#document
   1.263 +| <!DOCTYPE html>
   1.264 +| <html>
   1.265 +|   <head>
   1.266 +|   <frameset>
   1.267 +|   <noframes>
   1.268 +|     "abc"
   1.269 +|   <!-- abc -->
   1.270 +
   1.271 +#data
   1.272 +<!doctype html><frameset></frameset></html><noframes>abc
   1.273 +#errors
   1.274 +(1,56): expected-named-closing-tag-but-got-eof
   1.275 +#document
   1.276 +| <!DOCTYPE html>
   1.277 +| <html>
   1.278 +|   <head>
   1.279 +|   <frameset>
   1.280 +|   <noframes>
   1.281 +|     "abc"
   1.282 +
   1.283 +#data
   1.284 +<!doctype html><frameset></frameset></html><noframes>abc</noframes><!--abc-->
   1.285 +#errors
   1.286 +#document
   1.287 +| <!DOCTYPE html>
   1.288 +| <html>
   1.289 +|   <head>
   1.290 +|   <frameset>
   1.291 +|   <noframes>
   1.292 +|     "abc"
   1.293 +| <!-- abc -->
   1.294 +
   1.295 +#data
   1.296 +<!doctype html><table><tr></tbody><tfoot>
   1.297 +#errors
   1.298 +(1,41): eof-in-table
   1.299 +#document
   1.300 +| <!DOCTYPE html>
   1.301 +| <html>
   1.302 +|   <head>
   1.303 +|   <body>
   1.304 +|     <table>
   1.305 +|       <tbody>
   1.306 +|         <tr>
   1.307 +|       <tfoot>
   1.308 +
   1.309 +#data
   1.310 +<!doctype html><table><td><svg></svg>abc<td>
   1.311 +#errors
   1.312 +(1,26): unexpected-cell-in-table-body
   1.313 +(1,44): expected-closing-tag-but-got-eof
   1.314 +#document
   1.315 +| <!DOCTYPE html>
   1.316 +| <html>
   1.317 +|   <head>
   1.318 +|   <body>
   1.319 +|     <table>
   1.320 +|       <tbody>
   1.321 +|         <tr>
   1.322 +|           <td>
   1.323 +|             <svg svg>
   1.324 +|             "abc"
   1.325 +|           <td>

mercurial