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

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 #data
     2 <svg><![CDATA[foo]]>
     3 #errors
     4 (1,5): expected-doctype-but-got-start-tag
     5 (1,20): expected-closing-tag-but-got-eof
     6 #document
     7 | <html>
     8 |   <head>
     9 |   <body>
    10 |     <svg svg>
    11 |       "foo"
    13 #data
    14 <math><![CDATA[foo]]>
    15 #errors
    16 (1,6): expected-doctype-but-got-start-tag
    17 (1,21): expected-closing-tag-but-got-eof
    18 #document
    19 | <html>
    20 |   <head>
    21 |   <body>
    22 |     <math math>
    23 |       "foo"
    25 #data
    26 <div><![CDATA[foo]]>
    27 #errors
    28 (1,5): expected-doctype-but-got-start-tag
    29 (1,7): expected-dashes-or-doctype
    30 (1,20): expected-closing-tag-but-got-eof
    31 #document
    32 | <html>
    33 |   <head>
    34 |   <body>
    35 |     <div>
    36 |       <!-- [CDATA[foo]] -->
    38 #data
    39 <svg><![CDATA[foo
    40 #errors
    41 (1,5): expected-doctype-but-got-start-tag
    42 (1,17): expected-closing-tag-but-got-eof
    43 #document
    44 | <html>
    45 |   <head>
    46 |   <body>
    47 |     <svg svg>
    48 |       "foo"
    50 #data
    51 <svg><![CDATA[foo
    52 #errors
    53 (1,5): expected-doctype-but-got-start-tag
    54 (1,17): expected-closing-tag-but-got-eof
    55 #document
    56 | <html>
    57 |   <head>
    58 |   <body>
    59 |     <svg svg>
    60 |       "foo"
    62 #data
    63 <svg><![CDATA[
    64 #errors
    65 (1,5): expected-doctype-but-got-start-tag
    66 (1,14): expected-closing-tag-but-got-eof
    67 #document
    68 | <html>
    69 |   <head>
    70 |   <body>
    71 |     <svg svg>
    73 #data
    74 <svg><![CDATA[]]>
    75 #errors
    76 (1,5): expected-doctype-but-got-start-tag
    77 (1,17): expected-closing-tag-but-got-eof
    78 #document
    79 | <html>
    80 |   <head>
    81 |   <body>
    82 |     <svg svg>
    84 #data
    85 <svg><![CDATA[]] >]]>
    86 #errors
    87 (1,5): expected-doctype-but-got-start-tag
    88 (1,21): expected-closing-tag-but-got-eof
    89 #document
    90 | <html>
    91 |   <head>
    92 |   <body>
    93 |     <svg svg>
    94 |       "]] >"
    96 #data
    97 <svg><![CDATA[]] >]]>
    98 #errors
    99 (1,5): expected-doctype-but-got-start-tag
   100 (1,21): expected-closing-tag-but-got-eof
   101 #document
   102 | <html>
   103 |   <head>
   104 |   <body>
   105 |     <svg svg>
   106 |       "]] >"
   108 #data
   109 <svg><![CDATA[]]
   110 #errors
   111 (1,5): expected-doctype-but-got-start-tag
   112 (1,16): expected-closing-tag-but-got-eof
   113 #document
   114 | <html>
   115 |   <head>
   116 |   <body>
   117 |     <svg svg>
   118 |       "]]"
   120 #data
   121 <svg><![CDATA[]
   122 #errors
   123 (1,5): expected-doctype-but-got-start-tag
   124 (1,15): expected-closing-tag-but-got-eof
   125 #document
   126 | <html>
   127 |   <head>
   128 |   <body>
   129 |     <svg svg>
   130 |       "]"
   132 #data
   133 <svg><![CDATA[]>a
   134 #errors
   135 (1,5): expected-doctype-but-got-start-tag
   136 (1,17): expected-closing-tag-but-got-eof
   137 #document
   138 | <html>
   139 |   <head>
   140 |   <body>
   141 |     <svg svg>
   142 |       "]>a"
   144 #data
   145 <!DOCTYPE html><svg><![CDATA[foo]]]>
   146 #errors
   147 (1,36): expected-closing-tag-but-got-eof
   148 #document
   149 | <!DOCTYPE html>
   150 | <html>
   151 |   <head>
   152 |   <body>
   153 |     <svg svg>
   154 |       "foo]"
   156 #data
   157 <!DOCTYPE html><svg><![CDATA[foo]]]]>
   158 #errors
   159 (1,37): expected-closing-tag-but-got-eof
   160 #document
   161 | <!DOCTYPE html>
   162 | <html>
   163 |   <head>
   164 |   <body>
   165 |     <svg svg>
   166 |       "foo]]"
   168 #data
   169 <!DOCTYPE html><svg><![CDATA[foo]]]]]>
   170 #errors
   171 (1,38): expected-closing-tag-but-got-eof
   172 #document
   173 | <!DOCTYPE html>
   174 | <html>
   175 |   <head>
   176 |   <body>
   177 |     <svg svg>
   178 |       "foo]]]"
   180 #data
   181 <svg><foreignObject><div><![CDATA[foo]]>
   182 #errors
   183 (1,5): expected-doctype-but-got-start-tag
   184 (1,27): expected-dashes-or-doctype
   185 (1,40): expected-closing-tag-but-got-eof
   186 #document
   187 | <html>
   188 |   <head>
   189 |   <body>
   190 |     <svg svg>
   191 |       <svg foreignObject>
   192 |         <div>
   193 |           <!-- [CDATA[foo]] -->
   195 #data
   196 <svg><![CDATA[<svg>]]>
   197 #errors
   198 (1,5): expected-doctype-but-got-start-tag
   199 (1,22): expected-closing-tag-but-got-eof
   200 #document
   201 | <html>
   202 |   <head>
   203 |   <body>
   204 |     <svg svg>
   205 |       "<svg>"
   207 #data
   208 <svg><![CDATA[</svg>a]]>
   209 #errors
   210 (1,5): expected-doctype-but-got-start-tag
   211 (1,24): expected-closing-tag-but-got-eof
   212 #document
   213 | <html>
   214 |   <head>
   215 |   <body>
   216 |     <svg svg>
   217 |       "</svg>a"
   219 #data
   220 <svg><![CDATA[<svg>a
   221 #errors
   222 (1,5): expected-doctype-but-got-start-tag
   223 (1,20): expected-closing-tag-but-got-eof
   224 #document
   225 | <html>
   226 |   <head>
   227 |   <body>
   228 |     <svg svg>
   229 |       "<svg>a"
   231 #data
   232 <svg><![CDATA[</svg>a
   233 #errors
   234 (1,5): expected-doctype-but-got-start-tag
   235 (1,21): expected-closing-tag-but-got-eof
   236 #document
   237 | <html>
   238 |   <head>
   239 |   <body>
   240 |     <svg svg>
   241 |       "</svg>a"
   243 #data
   244 <svg><![CDATA[<svg>]]><path>
   245 #errors
   246 (1,5): expected-doctype-but-got-start-tag
   247 (1,28): expected-closing-tag-but-got-eof
   248 #document
   249 | <html>
   250 |   <head>
   251 |   <body>
   252 |     <svg svg>
   253 |       "<svg>"
   254 |       <svg path>
   256 #data
   257 <svg><![CDATA[<svg>]]></path>
   258 #errors
   259 (1,5): expected-doctype-but-got-start-tag
   260 (1,29): unexpected-end-tag
   261 (1,29): unexpected-end-tag
   262 (1,29): expected-closing-tag-but-got-eof
   263 #document
   264 | <html>
   265 |   <head>
   266 |   <body>
   267 |     <svg svg>
   268 |       "<svg>"
   270 #data
   271 <svg><![CDATA[<svg>]]><!--path-->
   272 #errors
   273 (1,5): expected-doctype-but-got-start-tag
   274 (1,33): expected-closing-tag-but-got-eof
   275 #document
   276 | <html>
   277 |   <head>
   278 |   <body>
   279 |     <svg svg>
   280 |       "<svg>"
   281 |       <!-- path -->
   283 #data
   284 <svg><![CDATA[<svg>]]>path
   285 #errors
   286 (1,5): expected-doctype-but-got-start-tag
   287 (1,26): expected-closing-tag-but-got-eof
   288 #document
   289 | <html>
   290 |   <head>
   291 |   <body>
   292 |     <svg svg>
   293 |       "<svg>path"
   295 #data
   296 <svg><![CDATA[<!--svg-->]]>
   297 #errors
   298 (1,5): expected-doctype-but-got-start-tag
   299 (1,27): expected-closing-tag-but-got-eof
   300 #document
   301 | <html>
   302 |   <head>
   303 |   <body>
   304 |     <svg svg>
   305 |       "<!--svg-->"

mercurial