| OLD | NEW |
| 1 {"tests": [ | 1 {"tests": [ |
| 2 | 2 |
| 3 {"description":"DOCTYPE without name", | 3 {"description":"DOCTYPE without name", |
| 4 "input":"<!DOCTYPE>", | 4 "input":"<!DOCTYPE>", |
| 5 "output":["ParseError", "ParseError", ["DOCTYPE", "", null, null, false]]}, | 5 "output":["ParseError", "ParseError", ["DOCTYPE", "", null, null, false]]}, |
| 6 | 6 |
| 7 {"description":"DOCTYPE without space before name", | 7 {"description":"DOCTYPE without space before name", |
| 8 "input":"<!DOCTYPEhtml>", | 8 "input":"<!DOCTYPEhtml>", |
| 9 "output":["ParseError", ["DOCTYPE", "html", null, null, true]]}, | 9 "output":["ParseError", ["DOCTYPE", "html", null, null, true]]}, |
| 10 | 10 |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 | 170 |
| 171 {"description":"Empty end tag with following comment", | 171 {"description":"Empty end tag with following comment", |
| 172 "input":"a</><!--b-->c", | 172 "input":"a</><!--b-->c", |
| 173 "output":[["Character", "a"], "ParseError", ["Comment", "b"], ["Character", "c"]
]}, | 173 "output":[["Character", "a"], "ParseError", ["Comment", "b"], ["Character", "c"]
]}, |
| 174 | 174 |
| 175 {"description":"Empty end tag with following end tag", | 175 {"description":"Empty end tag with following end tag", |
| 176 "input":"a</></b>c", | 176 "input":"a</></b>c", |
| 177 "output":[["Character", "a"], "ParseError", ["EndTag", "b"], ["Character", "c"]]
} | 177 "output":[["Character", "a"], "ParseError", ["EndTag", "b"], ["Character", "c"]]
} |
| 178 | 178 |
| 179 ]} | 179 ]} |
| OLD | NEW |