parser/htmlparser/tests/mochitest/html5lib_tree_construction/html5test-com.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 <div<div>
     3 #errors
     4 (1,9): expected-doctype-but-got-start-tag
     5 (1,9): expected-closing-tag-but-got-eof
     6 #document
     7 | <html>
     8 |   <head>
     9 |   <body>
    10 |     <div<div>
    12 #data
    13 <div foo<bar=''>
    14 #errors
    15 (1,9): invalid-character-in-attribute-name
    16 (1,16): expected-doctype-but-got-start-tag
    17 (1,16): expected-closing-tag-but-got-eof
    18 #document
    19 | <html>
    20 |   <head>
    21 |   <body>
    22 |     <div>
    23 |       foo<bar=""
    25 #data
    26 <div foo=`bar`>
    27 #errors
    28 (1,10): equals-in-unquoted-attribute-value
    29 (1,14): unexpected-character-in-unquoted-attribute-value
    30 (1,15): expected-doctype-but-got-start-tag
    31 (1,15): expected-closing-tag-but-got-eof
    32 #document
    33 | <html>
    34 |   <head>
    35 |   <body>
    36 |     <div>
    37 |       foo="`bar`"
    39 #data
    40 <div \"foo=''>
    41 #errors
    42 (1,7): invalid-character-in-attribute-name
    43 (1,14): expected-doctype-but-got-start-tag
    44 (1,14): expected-closing-tag-but-got-eof
    45 #document
    46 | <html>
    47 |   <head>
    48 |   <body>
    49 |     <div>
    50 |       \"foo=""
    52 #data
    53 <a href='\nbar'></a>
    54 #errors
    55 (1,16): expected-doctype-but-got-start-tag
    56 #document
    57 | <html>
    58 |   <head>
    59 |   <body>
    60 |     <a>
    61 |       href="\nbar"
    63 #data
    64 <!DOCTYPE html>
    65 #errors
    66 #document
    67 | <!DOCTYPE html>
    68 | <html>
    69 |   <head>
    70 |   <body>
    72 #data
    73 &lang;&rang;
    74 #errors
    75 (1,6): expected-doctype-but-got-chars
    76 #document
    77 | <html>
    78 |   <head>
    79 |   <body>
    80 |     "⟨⟩"
    82 #data
    83 &apos;
    84 #errors
    85 (1,6): expected-doctype-but-got-chars
    86 #document
    87 | <html>
    88 |   <head>
    89 |   <body>
    90 |     "'"
    92 #data
    93 &ImaginaryI;
    94 #errors
    95 (1,12): expected-doctype-but-got-chars
    96 #document
    97 | <html>
    98 |   <head>
    99 |   <body>
   100 |     "ⅈ"
   102 #data
   103 &Kopf;
   104 #errors
   105 (1,6): expected-doctype-but-got-chars
   106 #document
   107 | <html>
   108 |   <head>
   109 |   <body>
   110 |     "𝕂"
   112 #data
   113 &notinva;
   114 #errors
   115 (1,9): expected-doctype-but-got-chars
   116 #document
   117 | <html>
   118 |   <head>
   119 |   <body>
   120 |     "∉"
   122 #data
   123 <?import namespace="foo" implementation="#bar">
   124 #errors
   125 (1,1): expected-tag-name-but-got-question-mark
   126 (1,47): expected-doctype-but-got-eof
   127 #document
   128 | <!-- ?import namespace="foo" implementation="#bar" -->
   129 | <html>
   130 |   <head>
   131 |   <body>
   133 #data
   134 <!--foo--bar-->
   135 #errors
   136 (1,10): unexpected-char-in-comment
   137 (1,15): expected-doctype-but-got-eof
   138 #document
   139 | <!-- foo--bar -->
   140 | <html>
   141 |   <head>
   142 |   <body>
   144 #data
   145 <![CDATA[x]]>
   146 #errors
   147 (1,2): expected-dashes-or-doctype
   148 (1,13): expected-doctype-but-got-eof
   149 #document
   150 | <!-- [CDATA[x]] -->
   151 | <html>
   152 |   <head>
   153 |   <body>
   155 #data
   156 <textarea><!--</textarea>--></textarea>
   157 #errors
   158 (1,10): expected-doctype-but-got-start-tag
   159 (1,39): unexpected-end-tag
   160 #document
   161 | <html>
   162 |   <head>
   163 |   <body>
   164 |     <textarea>
   165 |       "<!--"
   166 |     "-->"
   168 #data
   169 <textarea><!--</textarea>-->
   170 #errors
   171 (1,10): expected-doctype-but-got-start-tag
   172 #document
   173 | <html>
   174 |   <head>
   175 |   <body>
   176 |     <textarea>
   177 |       "<!--"
   178 |     "-->"
   180 #data
   181 <style><!--</style>--></style>
   182 #errors
   183 (1,7): expected-doctype-but-got-start-tag
   184 (1,30): unexpected-end-tag
   185 #document
   186 | <html>
   187 |   <head>
   188 |     <style>
   189 |       "<!--"
   190 |   <body>
   191 |     "-->"
   193 #data
   194 <style><!--</style>-->
   195 #errors
   196 (1,7): expected-doctype-but-got-start-tag
   197 #document
   198 | <html>
   199 |   <head>
   200 |     <style>
   201 |       "<!--"
   202 |   <body>
   203 |     "-->"
   205 #data
   206 <ul><li>A </li> <li>B</li></ul>
   207 #errors
   208 (1,4): expected-doctype-but-got-start-tag
   209 #document
   210 | <html>
   211 |   <head>
   212 |   <body>
   213 |     <ul>
   214 |       <li>
   215 |         "A "
   216 |       " "
   217 |       <li>
   218 |         "B"
   220 #data
   221 <table><form><input type=hidden><input></form><div></div></table>
   222 #errors
   223 (1,7): expected-doctype-but-got-start-tag
   224 (1,13): unexpected-form-in-table
   225 (1,32): unexpected-hidden-input-in-table
   226 (1,39): unexpected-start-tag-implies-table-voodoo
   227 (1,46): unexpected-end-tag-implies-table-voodoo
   228 (1,46): unexpected-end-tag
   229 (1,51): unexpected-start-tag-implies-table-voodoo
   230 (1,57): unexpected-end-tag-implies-table-voodoo
   231 #document
   232 | <html>
   233 |   <head>
   234 |   <body>
   235 |     <input>
   236 |     <div>
   237 |     <table>
   238 |       <form>
   239 |       <input>
   240 |         type="hidden"
   242 #data
   243 <i>A<b>B<p></i>C</b>D
   244 #errors
   245 (1,3): expected-doctype-but-got-start-tag
   246 (1,15): adoption-agency-1.3
   247 (1,20): adoption-agency-1.3
   248 #document
   249 | <html>
   250 |   <head>
   251 |   <body>
   252 |     <i>
   253 |       "A"
   254 |       <b>
   255 |         "B"
   256 |     <b>
   257 |     <p>
   258 |       <b>
   259 |         <i>
   260 |         "C"
   261 |       "D"
   263 #data
   264 <div></div>
   265 #errors
   266 (1,5): expected-doctype-but-got-start-tag
   267 #document
   268 | <html>
   269 |   <head>
   270 |   <body>
   271 |     <div>
   273 #data
   274 <svg></svg>
   275 #errors
   276 (1,5): expected-doctype-but-got-start-tag
   277 #document
   278 | <html>
   279 |   <head>
   280 |   <body>
   281 |     <svg svg>
   283 #data
   284 <math></math>
   285 #errors
   286 (1,6): expected-doctype-but-got-start-tag
   287 #document
   288 | <html>
   289 |   <head>
   290 |   <body>
   291 |     <math math>

mercurial