golang.org/x/net@v0.25.1-0.20240516223405-c87a5b62e243/html/testdata/webkit/tests7.dat (about) 1 #data 2 <!doctype html><body><title>X</title> 3 #errors 4 #document 5 | <!DOCTYPE html> 6 | <html> 7 | <head> 8 | <body> 9 | <title> 10 | "X" 11 12 #data 13 <!doctype html><table><title>X</title></table> 14 #errors 15 (1,29): unexpected-start-tag-implies-table-voodoo 16 #document 17 | <!DOCTYPE html> 18 | <html> 19 | <head> 20 | <body> 21 | <title> 22 | "X" 23 | <table> 24 25 #data 26 <!doctype html><head></head><title>X</title> 27 #errors 28 (1,35): unexpected-start-tag-out-of-my-head 29 #document 30 | <!DOCTYPE html> 31 | <html> 32 | <head> 33 | <title> 34 | "X" 35 | <body> 36 37 #data 38 <!doctype html></head><title>X</title> 39 #errors 40 (1,29): unexpected-start-tag-out-of-my-head 41 #document 42 | <!DOCTYPE html> 43 | <html> 44 | <head> 45 | <title> 46 | "X" 47 | <body> 48 49 #data 50 <!doctype html><table><meta></table> 51 #errors 52 (1,28): unexpected-start-tag-implies-table-voodoo 53 #document 54 | <!DOCTYPE html> 55 | <html> 56 | <head> 57 | <body> 58 | <meta> 59 | <table> 60 61 #data 62 <!doctype html><table>X<tr><td><table> <meta></table></table> 63 #errors 64 unexpected text in table 65 (1,45): unexpected-start-tag-implies-table-voodoo 66 #document 67 | <!DOCTYPE html> 68 | <html> 69 | <head> 70 | <body> 71 | "X" 72 | <table> 73 | <tbody> 74 | <tr> 75 | <td> 76 | <meta> 77 | <table> 78 | " " 79 80 #data 81 <!doctype html><html> <head> 82 #errors 83 #document 84 | <!DOCTYPE html> 85 | <html> 86 | <head> 87 | <body> 88 89 #data 90 <!doctype html> <head> 91 #errors 92 #document 93 | <!DOCTYPE html> 94 | <html> 95 | <head> 96 | <body> 97 98 #data 99 <!doctype html><table><style> <tr>x </style> </table> 100 #errors 101 #document 102 | <!DOCTYPE html> 103 | <html> 104 | <head> 105 | <body> 106 | <table> 107 | <style> 108 | " <tr>x " 109 | " " 110 111 #data 112 <!doctype html><table><TBODY><script> <tr>x </script> </table> 113 #errors 114 #document 115 | <!DOCTYPE html> 116 | <html> 117 | <head> 118 | <body> 119 | <table> 120 | <tbody> 121 | <script> 122 | " <tr>x " 123 | " " 124 125 #data 126 <!doctype html><p><applet><p>X</p></applet> 127 #errors 128 #document 129 | <!DOCTYPE html> 130 | <html> 131 | <head> 132 | <body> 133 | <p> 134 | <applet> 135 | <p> 136 | "X" 137 138 #data 139 <!doctype html><p><object type="application/x-non-existant-plugin"><p>X</p></object> 140 #errors 141 #document 142 | <!DOCTYPE html> 143 | <html> 144 | <head> 145 | <body> 146 | <p> 147 | <object> 148 | type="application/x-non-existant-plugin" 149 | <p> 150 | "X" 151 152 #data 153 <!doctype html><listing> 154 X</listing> 155 #errors 156 #document 157 | <!DOCTYPE html> 158 | <html> 159 | <head> 160 | <body> 161 | <listing> 162 | "X" 163 164 #data 165 <!doctype html><select><input>X 166 #errors 167 (1,30): unexpected-input-in-select 168 #document 169 | <!DOCTYPE html> 170 | <html> 171 | <head> 172 | <body> 173 | <select> 174 | <input> 175 | "X" 176 177 #data 178 <!doctype html><select><select>X 179 #errors 180 (1,31): unexpected-select-in-select 181 #document 182 | <!DOCTYPE html> 183 | <html> 184 | <head> 185 | <body> 186 | <select> 187 | "X" 188 189 #data 190 <!doctype html><table><input type=hidDEN></table> 191 #errors 192 (1,41): unexpected-hidden-input-in-table 193 #document 194 | <!DOCTYPE html> 195 | <html> 196 | <head> 197 | <body> 198 | <table> 199 | <input> 200 | type="hidDEN" 201 202 #data 203 <!doctype html><table>X<input type=hidDEN></table> 204 #errors 205 (1,23): foster-parenting-character 206 (1,42): unexpected-hidden-input-in-table 207 #document 208 | <!DOCTYPE html> 209 | <html> 210 | <head> 211 | <body> 212 | "X" 213 | <table> 214 | <input> 215 | type="hidDEN" 216 217 #data 218 <!doctype html><table> <input type=hidDEN></table> 219 #errors 220 (1,43): unexpected-hidden-input-in-table 221 #document 222 | <!DOCTYPE html> 223 | <html> 224 | <head> 225 | <body> 226 | <table> 227 | " " 228 | <input> 229 | type="hidDEN" 230 231 #data 232 <!doctype html><table> <input type='hidDEN'></table> 233 #errors 234 (1,45): unexpected-hidden-input-in-table 235 #document 236 | <!DOCTYPE html> 237 | <html> 238 | <head> 239 | <body> 240 | <table> 241 | " " 242 | <input> 243 | type="hidDEN" 244 245 #data 246 <!doctype html><table><input type=" hidden"><input type=hidDEN></table> 247 #errors 248 (1,44): unexpected-start-tag-implies-table-voodoo 249 (1,63): unexpected-hidden-input-in-table 250 #document 251 | <!DOCTYPE html> 252 | <html> 253 | <head> 254 | <body> 255 | <input> 256 | type=" hidden" 257 | <table> 258 | <input> 259 | type="hidDEN" 260 261 #data 262 <!doctype html><table><select>X<tr> 263 #errors 264 (1,30): unexpected-start-tag-implies-table-voodoo 265 (1,35): unexpected-table-element-start-tag-in-select-in-table 266 (1,35): eof-in-table 267 #document 268 | <!DOCTYPE html> 269 | <html> 270 | <head> 271 | <body> 272 | <select> 273 | "X" 274 | <table> 275 | <tbody> 276 | <tr> 277 278 #data 279 <!doctype html><select>X</select> 280 #errors 281 #document 282 | <!DOCTYPE html> 283 | <html> 284 | <head> 285 | <body> 286 | <select> 287 | "X" 288 289 #data 290 <!DOCTYPE hTmL><html></html> 291 #errors 292 #document 293 | <!DOCTYPE html> 294 | <html> 295 | <head> 296 | <body> 297 298 #data 299 <!DOCTYPE HTML><html></html> 300 #errors 301 #document 302 | <!DOCTYPE html> 303 | <html> 304 | <head> 305 | <body> 306 307 #data 308 <body>X</body></body> 309 #errors 310 (1,21): unexpected-end-tag-after-body 311 #document-fragment 312 html 313 #document 314 | <head> 315 | <body> 316 | "X" 317 318 #data 319 <div><p>a</x> b 320 #errors 321 (1,5): expected-doctype-but-got-start-tag 322 (1,13): unexpected-end-tag 323 (1,15): expected-closing-tag-but-got-eof 324 #document 325 | <html> 326 | <head> 327 | <body> 328 | <div> 329 | <p> 330 | "a b" 331 332 #data 333 <table><tr><td><code></code> </table> 334 #errors 335 (1,7): expected-doctype-but-got-start-tag 336 #document 337 | <html> 338 | <head> 339 | <body> 340 | <table> 341 | <tbody> 342 | <tr> 343 | <td> 344 | <code> 345 | " " 346 347 #data 348 <table><b><tr><td>aaa</td></tr>bbb</table>ccc 349 #errors 350 (1,7): expected-doctype-but-got-start-tag 351 (1,10): foster-parenting-start-tag 352 (1,32): foster-parenting-character 353 (1,33): foster-parenting-character 354 (1,34): foster-parenting-character 355 (1,45): expected-closing-tag-but-got-eof 356 #document 357 | <html> 358 | <head> 359 | <body> 360 | <b> 361 | <b> 362 | "bbb" 363 | <table> 364 | <tbody> 365 | <tr> 366 | <td> 367 | "aaa" 368 | <b> 369 | "ccc" 370 371 #data 372 A<table><tr> B</tr> B</table> 373 #errors 374 (1,1): expected-doctype-but-got-chars 375 (1,13): foster-parenting-character 376 (1,14): foster-parenting-character 377 (1,20): foster-parenting-character 378 (1,21): foster-parenting-character 379 #document 380 | <html> 381 | <head> 382 | <body> 383 | "A B B" 384 | <table> 385 | <tbody> 386 | <tr> 387 388 #data 389 A<table><tr> B</tr> </em>C</table> 390 #errors 391 (1,1): expected-doctype-but-got-chars 392 (1,13): foster-parenting-character 393 (1,14): foster-parenting-character 394 (1,20): foster-parenting-character 395 (1,25): unexpected-end-tag 396 (1,25): unexpected-end-tag-in-special-element 397 (1,26): foster-parenting-character 398 #document 399 | <html> 400 | <head> 401 | <body> 402 | "A BC" 403 | <table> 404 | <tbody> 405 | <tr> 406 | " " 407 408 #data 409 <select><keygen> 410 #errors 411 (1,8): expected-doctype-but-got-start-tag 412 (1,16): unexpected-input-in-select 413 #document 414 | <html> 415 | <head> 416 | <body> 417 | <select> 418 | <keygen>