diff options
author | Markus Unterwaditzer <markus-honeypot@unterwaditzer.net> | 2021-11-26 13:17:39 +0100 |
---|---|---|
committer | Markus Unterwaditzer <markus-honeypot@unterwaditzer.net> | 2021-11-26 13:17:39 +0100 |
commit | e1cdb4a6ac40aa562605990d58425978a5dc295b (patch) | |
tree | 48ee360700f05443364b95bbaedcfdb809ada6ea /tests/html5lib-tests/serializer/options.test | |
parent | bb1e11cc9421c3096d82c4fceb74bb8f0aa82201 (diff) |
remove html5lib-tests
Diffstat (limited to 'tests/html5lib-tests/serializer/options.test')
-rw-r--r-- | tests/html5lib-tests/serializer/options.test | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/tests/html5lib-tests/serializer/options.test b/tests/html5lib-tests/serializer/options.test deleted file mode 100644 index 6f342dd..0000000 --- a/tests/html5lib-tests/serializer/options.test +++ /dev/null @@ -1,60 +0,0 @@ -{"tests":[ - -{"description": "quote_char=\"'\"", - "options": {"quote_char": "'"}, - "input": [["StartTag", "http://www.w3.org/1999/xhtml", "span", [{"namespace": null, "name": "title", "value": "test 'with' quote_char"}]]], - "expected": ["<span title='test 'with' quote_char'>"] -}, - -{"description": "quote_attr_values=true", - "options": {"quote_attr_values": true}, - "input": [["StartTag", "http://www.w3.org/1999/xhtml", "button", [{"namespace": null, "name": "disabled", "value" :"disabled"}]]], - "expected": ["<button disabled>"], - "xhtml": ["<button disabled=\"disabled\">"] -}, - -{"description": "quote_attr_values=true with irrelevant", - "options": {"quote_attr_values": true}, - "input": [["StartTag", "http://www.w3.org/1999/xhtml", "div", [{"namespace": null, "name": "irrelevant", "value" :"irrelevant"}]]], - "expected": ["<div irrelevant>"], - "xhtml": ["<div irrelevant=\"irrelevant\">"] -}, - -{"description": "use_trailing_solidus=true with void element", - "options": {"use_trailing_solidus": true}, - "input": [["EmptyTag", "img", {}]], - "expected": ["<img />"] -}, - -{"description": "use_trailing_solidus=true with non-void element", - "options": {"use_trailing_solidus": true}, - "input": [["StartTag", "http://www.w3.org/1999/xhtml", "div", {}]], - "expected": ["<div>"] -}, - -{"description": "minimize_boolean_attributes=false", - "options": {"minimize_boolean_attributes": false}, - "input": [["StartTag", "http://www.w3.org/1999/xhtml", "div", [{"namespace": null, "name": "irrelevant", "value" :"irrelevant"}]]], - "expected": ["<div irrelevant=irrelevant>"], - "xhtml": ["<div irrelevant=\"irrelevant\">"] -}, - -{"description": "minimize_boolean_attributes=false with empty value", - "options": {"minimize_boolean_attributes": false}, - "input": [["StartTag", "http://www.w3.org/1999/xhtml", "div", [{"namespace": null, "name": "irrelevant", "value" :""}]]], - "expected": ["<div irrelevant=\"\">"] -}, - -{"description": "escape less than signs in attribute values", - "options": {"escape_lt_in_attrs": true}, - "input": [["StartTag", "http://www.w3.org/1999/xhtml", "a", [{"namespace": null, "name": "title", "value": "a<b>c&d"}]]], - "expected": ["<a title=\"a<b>c&d\">"] -}, - -{"description": "rcdata", - "options": {"escape_rcdata": true}, - "input": [["StartTag", "http://www.w3.org/1999/xhtml", "script", {}], ["Characters", "a<b>c&d"]], - "expected": ["<script>a<b>c&d"] -} - -]} |