github.com/Andyfoo/golang/x/net@v0.0.0-20190901054642-57c1bf301704/html/testdata/webkit/tests8.dat (about) 1 #data 2 <div> 3 <div></div> 4 </span>x 5 #errors 6 Line: 1 Col: 5 Unexpected start tag (div). Expected DOCTYPE. 7 Line: 3 Col: 7 Unexpected end tag (span). Ignored. 8 Line: 3 Col: 8 Expected closing tag. Unexpected end of file. 9 #document 10 | <html> 11 | <head> 12 | <body> 13 | <div> 14 | " 15 " 16 | <div> 17 | " 18 x" 19 20 #data 21 <div>x<div></div> 22 </span>x 23 #errors 24 Line: 1 Col: 5 Unexpected start tag (div). Expected DOCTYPE. 25 Line: 2 Col: 7 Unexpected end tag (span). Ignored. 26 Line: 2 Col: 8 Expected closing tag. Unexpected end of file. 27 #document 28 | <html> 29 | <head> 30 | <body> 31 | <div> 32 | "x" 33 | <div> 34 | " 35 x" 36 37 #data 38 <div>x<div></div>x</span>x 39 #errors 40 Line: 1 Col: 5 Unexpected start tag (div). Expected DOCTYPE. 41 Line: 1 Col: 25 Unexpected end tag (span). Ignored. 42 Line: 1 Col: 26 Expected closing tag. Unexpected end of file. 43 #document 44 | <html> 45 | <head> 46 | <body> 47 | <div> 48 | "x" 49 | <div> 50 | "xx" 51 52 #data 53 <div>x<div></div>y</span>z 54 #errors 55 Line: 1 Col: 5 Unexpected start tag (div). Expected DOCTYPE. 56 Line: 1 Col: 25 Unexpected end tag (span). Ignored. 57 Line: 1 Col: 26 Expected closing tag. Unexpected end of file. 58 #document 59 | <html> 60 | <head> 61 | <body> 62 | <div> 63 | "x" 64 | <div> 65 | "yz" 66 67 #data 68 <table><div>x<div></div>x</span>x 69 #errors 70 Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE. 71 Line: 1 Col: 12 Unexpected start tag (div) in table context caused voodoo mode. 72 Line: 1 Col: 18 Unexpected start tag (div) in table context caused voodoo mode. 73 Line: 1 Col: 24 Unexpected end tag (div) in table context caused voodoo mode. 74 Line: 1 Col: 32 Unexpected end tag (span) in table context caused voodoo mode. 75 Line: 1 Col: 32 Unexpected end tag (span). Ignored. 76 Line: 1 Col: 33 Unexpected end of file. Expected table content. 77 #document 78 | <html> 79 | <head> 80 | <body> 81 | <div> 82 | "x" 83 | <div> 84 | "xx" 85 | <table> 86 87 #data 88 x<table>x 89 #errors 90 Line: 1 Col: 1 Unexpected non-space characters. Expected DOCTYPE. 91 Line: 1 Col: 9 Unexpected non-space characters in table context caused voodoo mode. 92 Line: 1 Col: 9 Unexpected end of file. Expected table content. 93 #document 94 | <html> 95 | <head> 96 | <body> 97 | "xx" 98 | <table> 99 100 #data 101 x<table><table>x 102 #errors 103 Line: 1 Col: 1 Unexpected non-space characters. Expected DOCTYPE. 104 Line: 1 Col: 15 Unexpected start tag (table) implies end tag (table). 105 Line: 1 Col: 16 Unexpected non-space characters in table context caused voodoo mode. 106 Line: 1 Col: 16 Unexpected end of file. Expected table content. 107 #document 108 | <html> 109 | <head> 110 | <body> 111 | "x" 112 | <table> 113 | "x" 114 | <table> 115 116 #data 117 <b>a<div></div><div></b>y 118 #errors 119 Line: 1 Col: 3 Unexpected start tag (b). Expected DOCTYPE. 120 Line: 1 Col: 24 End tag (b) violates step 1, paragraph 3 of the adoption agency algorithm. 121 Line: 1 Col: 25 Expected closing tag. Unexpected end of file. 122 #document 123 | <html> 124 | <head> 125 | <body> 126 | <b> 127 | "a" 128 | <div> 129 | <div> 130 | <b> 131 | "y" 132 133 #data 134 <a><div><p></a> 135 #errors 136 Line: 1 Col: 3 Unexpected start tag (a). Expected DOCTYPE. 137 Line: 1 Col: 15 End tag (a) violates step 1, paragraph 3 of the adoption agency algorithm. 138 Line: 1 Col: 15 End tag (a) violates step 1, paragraph 3 of the adoption agency algorithm. 139 Line: 1 Col: 15 Expected closing tag. Unexpected end of file. 140 #document 141 | <html> 142 | <head> 143 | <body> 144 | <a> 145 | <div> 146 | <a> 147 | <p> 148 | <a>