diff options
author | Markus Unterwaditzer <markus-honeypot@unterwaditzer.net> | 2021-11-24 20:44:08 +0100 |
---|---|---|
committer | Markus Unterwaditzer <markus-honeypot@unterwaditzer.net> | 2021-11-24 20:51:21 +0100 |
commit | 9909fc4580855a58a10eb84f0d143d1b3b3f464a (patch) | |
tree | 36941a6a714a10b9ce554ba249975108e6a17274 /tests/html5lib-tests/tokenizer/xmlViolation.test |
hello world
Diffstat (limited to 'tests/html5lib-tests/tokenizer/xmlViolation.test')
-rw-r--r-- | tests/html5lib-tests/tokenizer/xmlViolation.test | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/html5lib-tests/tokenizer/xmlViolation.test b/tests/html5lib-tests/tokenizer/xmlViolation.test new file mode 100644 index 0000000..da6159e --- /dev/null +++ b/tests/html5lib-tests/tokenizer/xmlViolation.test @@ -0,0 +1,20 @@ +{"xmlViolationTests": [ + +{"description":"Non-XML character", +"input":"a\uFFFFb", +"output":[["Character","a\uFFFDb"]]}, + +{"description":"Non-XML space", +"input":"a\u000Cb", +"output":[["Character","a b"]]}, + +{"description":"Double hyphen in comment", +"input":"<!-- foo -- bar -->", +"output":[["Comment"," foo - - bar "]]}, + +{"description":"FF between attributes", +"input":"<a b=''\u000Cc=''>", +"output":[["StartTag","a",{"b":"","c":""}]]} +]} + + |