78 |
|
|
79 |
{"description":"Quoted attribute followed by permitted /", |
{"description":"Quoted attribute followed by permitted /", |
80 |
"input":"<br a='b'/>", |
"input":"<br a='b'/>", |
81 |
"output":[["StartTag", "br", {"a": "b"}]]}, |
"output":[["StartTag","br",{"a":"b"},true]]}, |
82 |
|
|
83 |
{"description":"Quoted attribute followed by non-permitted /", |
{"description":"Quoted attribute followed by non-permitted /", |
84 |
"input":"<bar a='b'/>", |
"input":"<bar a='b'/>", |
85 |
"output":["ParseError", ["StartTag", "bar", {"a": "b"}]]}, |
"output":[["StartTag","bar",{"a":"b"},true]]}, |
86 |
|
|
87 |
{"description":"CR EOF after doctype name", |
{"description":"CR EOF after doctype name", |
88 |
"input":"<!doctype html \r", |
"input":"<!doctype html \r", |
182 |
|
|
183 |
{"description":"Permitted slash", |
{"description":"Permitted slash", |
184 |
"input":"<br/>", |
"input":"<br/>", |
185 |
"output":[["StartTag", "br", {}]]}, |
"output":[["StartTag","br",{},true]]}, |
186 |
|
|
187 |
{"description":"Non-permitted slash", |
{"description":"Non-permitted slash", |
188 |
"input":"<xr/>", |
"input":"<xr/>", |
189 |
"output":["ParseError", ["StartTag", "xr", {}]]}, |
"output":[["StartTag","xr",{},true]]}, |
190 |
|
|
191 |
{"description":"Permitted slash but in close tag", |
{"description":"Permitted slash but in close tag", |
192 |
"input":"</br/>", |
"input":"</br/>", |
218 |
"output":["ParseError", "ParseError", ["Comment", "doc\uFFFD"]], |
"output":["ParseError", "ParseError", ["Comment", "doc\uFFFD"]], |
219 |
"ignoreErrorOrder":true}, |
"ignoreErrorOrder":true}, |
220 |
|
|
221 |
|
{"description":"U+0080 in lookahead region", |
222 |
|
"input":"<!doc\u0080", |
223 |
|
"output":["ParseError", "ParseError", ["Comment", "doc\u0080"]], |
224 |
|
"ignoreErrorOrder":true}, |
225 |
|
|
226 |
|
{"description":"U+FDD1 in lookahead region", |
227 |
|
"input":"<!doc\uFDD1", |
228 |
|
"output":["ParseError", "ParseError", ["Comment", "doc\uFDD1"]], |
229 |
|
"ignoreErrorOrder":true}, |
230 |
|
|
231 |
|
{"description":"U+1FFFF in lookahead region", |
232 |
|
"input":"<!doc\uD83F\uDFFF", |
233 |
|
"output":["ParseError", "ParseError", ["Comment", "doc\uD83F\uDFFF"]], |
234 |
|
"ignoreErrorOrder":true}, |
235 |
|
|
236 |
{"description":"CR followed by U+0000", |
{"description":"CR followed by U+0000", |
237 |
"input":"\r\u0000", |
"input":"\r\u0000", |
238 |
"output":["ParseError", ["Character", "\n\uFFFD"]], |
"output":["ParseError", ["Character", "\n\uFFFD"]], |