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

mercurial