github.com/Andyfoo/golang/x/net@v0.0.0-20190901054642-57c1bf301704/html/testdata/webkit/webkit01.dat (about) 1 #data 2 Test 3 #errors 4 Line: 1 Col: 4 Unexpected non-space characters. Expected DOCTYPE. 5 #document 6 | <html> 7 | <head> 8 | <body> 9 | "Test" 10 11 #data 12 <div></div> 13 #errors 14 #document 15 | <html> 16 | <head> 17 | <body> 18 | <div> 19 20 #data 21 <div>Test</div> 22 #errors 23 #document 24 | <html> 25 | <head> 26 | <body> 27 | <div> 28 | "Test" 29 30 #data 31 <di 32 #errors 33 #document 34 | <html> 35 | <head> 36 | <body> 37 38 #data 39 <div>Hello</div> 40 <script> 41 console.log("PASS"); 42 </script> 43 <div>Bye</div> 44 #errors 45 #document 46 | <html> 47 | <head> 48 | <body> 49 | <div> 50 | "Hello" 51 | " 52 " 53 | <script> 54 | " 55 console.log("PASS"); 56 " 57 | " 58 " 59 | <div> 60 | "Bye" 61 62 #data 63 <div foo="bar">Hello</div> 64 #errors 65 #document 66 | <html> 67 | <head> 68 | <body> 69 | <div> 70 | foo="bar" 71 | "Hello" 72 73 #data 74 <div>Hello</div> 75 <script> 76 console.log("FOO<span>BAR</span>BAZ"); 77 </script> 78 <div>Bye</div> 79 #errors 80 #document 81 | <html> 82 | <head> 83 | <body> 84 | <div> 85 | "Hello" 86 | " 87 " 88 | <script> 89 | " 90 console.log("FOO<span>BAR</span>BAZ"); 91 " 92 | " 93 " 94 | <div> 95 | "Bye" 96 97 #data 98 <foo bar="baz"></foo><potato quack="duck"></potato> 99 #errors 100 #document 101 | <html> 102 | <head> 103 | <body> 104 | <foo> 105 | bar="baz" 106 | <potato> 107 | quack="duck" 108 109 #data 110 <foo bar="baz"><potato quack="duck"></potato></foo> 111 #errors 112 #document 113 | <html> 114 | <head> 115 | <body> 116 | <foo> 117 | bar="baz" 118 | <potato> 119 | quack="duck" 120 121 #data 122 <foo></foo bar="baz"><potato></potato quack="duck"> 123 #errors 124 #document 125 | <html> 126 | <head> 127 | <body> 128 | <foo> 129 | <potato> 130 131 #data 132 </ tttt> 133 #errors 134 #document 135 | <!-- tttt --> 136 | <html> 137 | <head> 138 | <body> 139 140 #data 141 <div FOO ><img><img></div> 142 #errors 143 #document 144 | <html> 145 | <head> 146 | <body> 147 | <div> 148 | foo="" 149 | <img> 150 | <img> 151 152 #data 153 <p>Test</p<p>Test2</p> 154 #errors 155 #document 156 | <html> 157 | <head> 158 | <body> 159 | <p> 160 | "TestTest2" 161 162 #data 163 <rdar://problem/6869687> 164 #errors 165 #document 166 | <html> 167 | <head> 168 | <body> 169 | <rdar:> 170 | 6869687="" 171 | problem="" 172 173 #data 174 <A>test< /A> 175 #errors 176 #document 177 | <html> 178 | <head> 179 | <body> 180 | <a> 181 | "test< /A>" 182 183 #data 184 < 185 #errors 186 #document 187 | <html> 188 | <head> 189 | <body> 190 | "<" 191 192 #data 193 <body foo='bar'><body foo='baz' yo='mama'> 194 #errors 195 #document 196 | <html> 197 | <head> 198 | <body> 199 | foo="bar" 200 | yo="mama" 201 202 #data 203 <body></br foo="bar"></body> 204 #errors 205 #document 206 | <html> 207 | <head> 208 | <body> 209 | <br> 210 211 #data 212 <bdy><br foo="bar"></body> 213 #errors 214 #document 215 | <html> 216 | <head> 217 | <body> 218 | <bdy> 219 | <br> 220 | foo="bar" 221 222 #data 223 <body></body></br foo="bar"> 224 #errors 225 #document 226 | <html> 227 | <head> 228 | <body> 229 | <br> 230 231 #data 232 <bdy></body><br foo="bar"> 233 #errors 234 #document 235 | <html> 236 | <head> 237 | <body> 238 | <bdy> 239 | <br> 240 | foo="bar" 241 242 #data 243 <html><body></body></html><!-- Hi there --> 244 #errors 245 #document 246 | <html> 247 | <head> 248 | <body> 249 | <!-- Hi there --> 250 251 #data 252 <html><body></body></html>x<!-- Hi there --> 253 #errors 254 #document 255 | <html> 256 | <head> 257 | <body> 258 | "x" 259 | <!-- Hi there --> 260 261 #data 262 <html><body></body></html>x<!-- Hi there --></html><!-- Again --> 263 #errors 264 #document 265 | <html> 266 | <head> 267 | <body> 268 | "x" 269 | <!-- Hi there --> 270 | <!-- Again --> 271 272 #data 273 <html><body></body></html>x<!-- Hi there --></body></html><!-- Again --> 274 #errors 275 #document 276 | <html> 277 | <head> 278 | <body> 279 | "x" 280 | <!-- Hi there --> 281 | <!-- Again --> 282 283 #data 284 <html><body><ruby><div><rp>xx</rp></div></ruby></body></html> 285 #errors 286 #document 287 | <html> 288 | <head> 289 | <body> 290 | <ruby> 291 | <div> 292 | <rp> 293 | "xx" 294 295 #data 296 <html><body><ruby><div><rt>xx</rt></div></ruby></body></html> 297 #errors 298 #document 299 | <html> 300 | <head> 301 | <body> 302 | <ruby> 303 | <div> 304 | <rt> 305 | "xx" 306 307 #data 308 <html><frameset><!--1--><noframes>A</noframes><!--2--></frameset><!--3--><noframes>B</noframes><!--4--></html><!--5--><noframes>C</noframes><!--6--> 309 #errors 310 #document 311 | <html> 312 | <head> 313 | <frameset> 314 | <!-- 1 --> 315 | <noframes> 316 | "A" 317 | <!-- 2 --> 318 | <!-- 3 --> 319 | <noframes> 320 | "B" 321 | <!-- 4 --> 322 | <noframes> 323 | "C" 324 | <!-- 5 --> 325 | <!-- 6 --> 326 327 #data 328 <select><option>A<select><option>B<select><option>C<select><option>D<select><option>E<select><option>F<select><option>G<select> 329 #errors 330 #document 331 | <html> 332 | <head> 333 | <body> 334 | <select> 335 | <option> 336 | "A" 337 | <option> 338 | "B" 339 | <select> 340 | <option> 341 | "C" 342 | <option> 343 | "D" 344 | <select> 345 | <option> 346 | "E" 347 | <option> 348 | "F" 349 | <select> 350 | <option> 351 | "G" 352 353 #data 354 <dd><dd><dt><dt><dd><li><li> 355 #errors 356 #document 357 | <html> 358 | <head> 359 | <body> 360 | <dd> 361 | <dd> 362 | <dt> 363 | <dt> 364 | <dd> 365 | <li> 366 | <li> 367 368 #data 369 <div><b></div><div><nobr>a<nobr> 370 #errors 371 #document 372 | <html> 373 | <head> 374 | <body> 375 | <div> 376 | <b> 377 | <div> 378 | <b> 379 | <nobr> 380 | "a" 381 | <nobr> 382 383 #data 384 <head></head> 385 <body></body> 386 #errors 387 #document 388 | <html> 389 | <head> 390 | " 391 " 392 | <body> 393 394 #data 395 <head></head> <style></style>ddd 396 #errors 397 #document 398 | <html> 399 | <head> 400 | <style> 401 | " " 402 | <body> 403 | "ddd" 404 405 #data 406 <kbd><table></kbd><col><select><tr> 407 #errors 408 #document 409 | <html> 410 | <head> 411 | <body> 412 | <kbd> 413 | <select> 414 | <table> 415 | <colgroup> 416 | <col> 417 | <tbody> 418 | <tr> 419 420 #data 421 <kbd><table></kbd><col><select><tr></table><div> 422 #errors 423 #document 424 | <html> 425 | <head> 426 | <body> 427 | <kbd> 428 | <select> 429 | <table> 430 | <colgroup> 431 | <col> 432 | <tbody> 433 | <tr> 434 | <div> 435 436 #data 437 <a><li><style></style><title></title></a> 438 #errors 439 #document 440 | <html> 441 | <head> 442 | <body> 443 | <a> 444 | <li> 445 | <a> 446 | <style> 447 | <title> 448 449 #data 450 <font></p><p><meta><title></title></font> 451 #errors 452 #document 453 | <html> 454 | <head> 455 | <body> 456 | <font> 457 | <p> 458 | <p> 459 | <font> 460 | <meta> 461 | <title> 462 463 #data 464 <a><center><title></title><a> 465 #errors 466 #document 467 | <html> 468 | <head> 469 | <body> 470 | <a> 471 | <center> 472 | <a> 473 | <title> 474 | <a> 475 476 #data 477 <svg><title><div> 478 #errors 479 #document 480 | <html> 481 | <head> 482 | <body> 483 | <svg svg> 484 | <svg title> 485 | <div> 486 487 #data 488 <svg><title><rect><div> 489 #errors 490 #document 491 | <html> 492 | <head> 493 | <body> 494 | <svg svg> 495 | <svg title> 496 | <rect> 497 | <div> 498 499 #data 500 <svg><title><svg><div> 501 #errors 502 #document 503 | <html> 504 | <head> 505 | <body> 506 | <svg svg> 507 | <svg title> 508 | <svg svg> 509 | <div> 510 511 #data 512 <img <="" FAIL> 513 #errors 514 #document 515 | <html> 516 | <head> 517 | <body> 518 | <img> 519 | <="" 520 | fail="" 521 522 #data 523 <ul><li><div id='foo'/>A</li><li>B<div>C</div></li></ul> 524 #errors 525 #document 526 | <html> 527 | <head> 528 | <body> 529 | <ul> 530 | <li> 531 | <div> 532 | id="foo" 533 | "A" 534 | <li> 535 | "B" 536 | <div> 537 | "C" 538 539 #data 540 <svg><em><desc></em> 541 #errors 542 #document 543 | <html> 544 | <head> 545 | <body> 546 | <svg svg> 547 | <em> 548 | <desc> 549 550 #data 551 <table><tr><td><svg><desc><td></desc><circle> 552 #errors 553 #document 554 | <html> 555 | <head> 556 | <body> 557 | <table> 558 | <tbody> 559 | <tr> 560 | <td> 561 | <svg svg> 562 | <svg desc> 563 | <td> 564 | <circle> 565 566 #data 567 <svg><tfoot></mi><td> 568 #errors 569 #document 570 | <html> 571 | <head> 572 | <body> 573 | <svg svg> 574 | <svg tfoot> 575 | <svg td> 576 577 #data 578 <math><mrow><mrow><mn>1</mn></mrow><mi>a</mi></mrow></math> 579 #errors 580 #document 581 | <html> 582 | <head> 583 | <body> 584 | <math math> 585 | <math mrow> 586 | <math mrow> 587 | <math mn> 588 | "1" 589 | <math mi> 590 | "a" 591 592 #data 593 <!doctype html><input type="hidden"><frameset> 594 #errors 595 #document 596 | <!DOCTYPE html> 597 | <html> 598 | <head> 599 | <frameset> 600 601 #data 602 <!doctype html><input type="button"><frameset> 603 #errors 604 #document 605 | <!DOCTYPE html> 606 | <html> 607 | <head> 608 | <body> 609 | <input> 610 | type="button"