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.

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

mercurial