1{ 2 "tests": [ 3 { 4 "description": "<!doctype html><table><tbody><select><tr>", 5 "input": "<!doctype html><table><tbody><select><tr>", 6 "output": [ 7 [ 8 "DOCTYPE", 9 "html", 10 null, 11 null, 12 true 13 ], 14 [ 15 "StartTag", 16 "table", 17 {} 18 ], 19 [ 20 "StartTag", 21 "tbody", 22 {} 23 ], 24 [ 25 "StartTag", 26 "select", 27 {} 28 ], 29 [ 30 "StartTag", 31 "tr", 32 {} 33 ] 34 ] 35 }, 36 { 37 "description": "<!doctype html><table><tr><select><td>", 38 "input": "<!doctype html><table><tr><select><td>", 39 "output": [ 40 [ 41 "DOCTYPE", 42 "html", 43 null, 44 null, 45 true 46 ], 47 [ 48 "StartTag", 49 "table", 50 {} 51 ], 52 [ 53 "StartTag", 54 "tr", 55 {} 56 ], 57 [ 58 "StartTag", 59 "select", 60 {} 61 ], 62 [ 63 "StartTag", 64 "td", 65 {} 66 ] 67 ] 68 }, 69 { 70 "description": "<!doctype html><table><tr><td><select><td>", 71 "input": "<!doctype html><table><tr><td><select><td>", 72 "output": [ 73 [ 74 "DOCTYPE", 75 "html", 76 null, 77 null, 78 true 79 ], 80 [ 81 "StartTag", 82 "table", 83 {} 84 ], 85 [ 86 "StartTag", 87 "tr", 88 {} 89 ], 90 [ 91 "StartTag", 92 "td", 93 {} 94 ], 95 [ 96 "StartTag", 97 "select", 98 {} 99 ], 100 [ 101 "StartTag", 102 "td", 103 {} 104 ] 105 ] 106 }, 107 { 108 "description": "<!doctype html><table><tr><th><select><td>", 109 "input": "<!doctype html><table><tr><th><select><td>", 110 "output": [ 111 [ 112 "DOCTYPE", 113 "html", 114 null, 115 null, 116 true 117 ], 118 [ 119 "StartTag", 120 "table", 121 {} 122 ], 123 [ 124 "StartTag", 125 "tr", 126 {} 127 ], 128 [ 129 "StartTag", 130 "th", 131 {} 132 ], 133 [ 134 "StartTag", 135 "select", 136 {} 137 ], 138 [ 139 "StartTag", 140 "td", 141 {} 142 ] 143 ] 144 }, 145 { 146 "description": "<!doctype html><table><caption><select><tr>", 147 "input": "<!doctype html><table><caption><select><tr>", 148 "output": [ 149 [ 150 "DOCTYPE", 151 "html", 152 null, 153 null, 154 true 155 ], 156 [ 157 "StartTag", 158 "table", 159 {} 160 ], 161 [ 162 "StartTag", 163 "caption", 164 {} 165 ], 166 [ 167 "StartTag", 168 "select", 169 {} 170 ], 171 [ 172 "StartTag", 173 "tr", 174 {} 175 ] 176 ] 177 }, 178 { 179 "description": "<!doctype html><select><tr>", 180 "input": "<!doctype html><select><tr>", 181 "output": [ 182 [ 183 "DOCTYPE", 184 "html", 185 null, 186 null, 187 true 188 ], 189 [ 190 "StartTag", 191 "select", 192 {} 193 ], 194 [ 195 "StartTag", 196 "tr", 197 {} 198 ] 199 ] 200 }, 201 { 202 "description": "<!doctype html><select><td>", 203 "input": "<!doctype html><select><td>", 204 "output": [ 205 [ 206 "DOCTYPE", 207 "html", 208 null, 209 null, 210 true 211 ], 212 [ 213 "StartTag", 214 "select", 215 {} 216 ], 217 [ 218 "StartTag", 219 "td", 220 {} 221 ] 222 ] 223 }, 224 { 225 "description": "<!doctype html><select><th>", 226 "input": "<!doctype html><select><th>", 227 "output": [ 228 [ 229 "DOCTYPE", 230 "html", 231 null, 232 null, 233 true 234 ], 235 [ 236 "StartTag", 237 "select", 238 {} 239 ], 240 [ 241 "StartTag", 242 "th", 243 {} 244 ] 245 ] 246 }, 247 { 248 "description": "<!doctype html><select><tbody>", 249 "input": "<!doctype html><select><tbody>", 250 "output": [ 251 [ 252 "DOCTYPE", 253 "html", 254 null, 255 null, 256 true 257 ], 258 [ 259 "StartTag", 260 "select", 261 {} 262 ], 263 [ 264 "StartTag", 265 "tbody", 266 {} 267 ] 268 ] 269 }, 270 { 271 "description": "<!doctype html><select><thead>", 272 "input": "<!doctype html><select><thead>", 273 "output": [ 274 [ 275 "DOCTYPE", 276 "html", 277 null, 278 null, 279 true 280 ], 281 [ 282 "StartTag", 283 "select", 284 {} 285 ], 286 [ 287 "StartTag", 288 "thead", 289 {} 290 ] 291 ] 292 }, 293 { 294 "description": "<!doctype html><select><tfoot>", 295 "input": "<!doctype html><select><tfoot>", 296 "output": [ 297 [ 298 "DOCTYPE", 299 "html", 300 null, 301 null, 302 true 303 ], 304 [ 305 "StartTag", 306 "select", 307 {} 308 ], 309 [ 310 "StartTag", 311 "tfoot", 312 {} 313 ] 314 ] 315 }, 316 { 317 "description": "<!doctype html><select><caption>", 318 "input": "<!doctype html><select><caption>", 319 "output": [ 320 [ 321 "DOCTYPE", 322 "html", 323 null, 324 null, 325 true 326 ], 327 [ 328 "StartTag", 329 "select", 330 {} 331 ], 332 [ 333 "StartTag", 334 "caption", 335 {} 336 ] 337 ] 338 }, 339 { 340 "description": "<!doctype html><table><tr></table>a", 341 "input": "<!doctype html><table><tr></table>a", 342 "output": [ 343 [ 344 "DOCTYPE", 345 "html", 346 null, 347 null, 348 true 349 ], 350 [ 351 "StartTag", 352 "table", 353 {} 354 ], 355 [ 356 "StartTag", 357 "tr", 358 {} 359 ], 360 [ 361 "EndTag", 362 "table" 363 ], 364 [ 365 "Character", 366 "a" 367 ] 368 ] 369 } 370 ] 371}